Lines Matching refs:z
27 float x, y, z; member
31 float x, y, z, w; member
35 static inline void initVec3(struct Vec3 *v, float x, float y, float z) { in initVec3() argument
38 v->z = z; in initVec3()
44 v->z += w->z; in vec3Add()
50 v->z -= w->z; in vec3Sub()
56 v->z *= c; in vec3ScalarMul()
60 return v->x * w->x + v->y * w->y + v->z * w->z; in vec3Dot()
75 v->z *= invNorm; in vec3Normalize()
79 u->x = v->y * w->z - v->z * w->y; in vec3Cross()
80 u->y = v->z * w->x - v->x * w->z; in vec3Cross()
81 u->z = v->x * w->y - v->y * w->x; in vec3Cross()
84 static inline void initVec4(struct Vec4 *v, float x, float y, float z, float w) { in initVec4() argument
87 v->z = z; in initVec4()