We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69941d8 commit cac0e4cCopy full SHA for cac0e4c
SingleFile/main.cpp
@@ -133,8 +133,6 @@ class vec3 {
133
vec3 operator*(const vec3& in) { return vec3(x * in.x, y * in.y, z * in.z); }
134
vec3 operator/(const vec3& in) { return vec3(x / in.x, y / in.y, z / in.z); }
135
float dot(float* a) { return x * a[0] + y * a[1] + z * a[2]; }
136
- float lengthsqr() { return (x * x + y * y + z * z); }
137
- float length2d() { return sqrt(x * x + y * y); }
138
void clear() { x = y = z = 0.f; }
139
};
140
struct SPlayerInfo {
0 commit comments