Home | History | Annotate | Download | only in algos

Lines Matching refs:Vec3

26 struct Vec3 {
35 static inline void initVec3(struct Vec3 *v, float x, float y, float z) {
41 static inline void vec3Add(struct Vec3 *v, const struct Vec3 *w) {
47 static inline void vec3Sub(struct Vec3 *v, const struct Vec3 *w) {
53 static inline void vec3ScalarMul(struct Vec3 *v, float c) {
59 static inline float vec3Dot(const struct Vec3 *v, const struct Vec3 *w) {
63 static inline float vec3NormSquared(const struct Vec3 *v) {
67 static inline float vec3Norm(const struct Vec3 *v) {
71 static inline void vec3Normalize(struct Vec3 *v) {
78 static inline void vec3Cross(struct Vec3 *u, const struct Vec3 *v, const struct Vec3 *w) {