113 crossProduct.
x = (vector1.
y * vector2.
z) - (vector1.
z * vector2.
y);
114 crossProduct.
y = (vector1.
z * vector2.
x) - (vector1.
x * vector2.
z);
115 crossProduct.
z = (vector1.
x * vector2.
y) - (vector1.
y * vector2.
x);
A 2D floating point vector.
static Vec3f cross(const Vec3f &vector1, const Vec3f &vector2)
Calculate cross product between two 3D floating point vectors.
A 3D floating point vector.
GLfloat GLfloat GLfloat w
void normalize(void)
Normalize 4D floating point vector.
GLint GLint GLint GLint GLint x
GLenum GLuint GLenum GLsizei length
A 4D floating point vector.
void normalize(void)
Normalize 3D floating point vector.