Lines Matching defs:VEC3

68 struct VEC3 : public VEC3_  struct
74 static const VEC3& Zero() in Zero() argument
81 typedef VEC3 self_type; //!< 自分の型です argument
89 VEC3() {} in VEC3() argument
90 VEC3(const f32* p) { x = p[0]; y = p[1]; z = p[2]; } in VEC3() function
92 VEC3(const VEC3_& v) { x = v.x; y = v.y; z = v.z; } in VEC3() function
94 VEC3(f32 fx, f32 fy, f32 fz) { x = fx; y = fy; z = fz; } in VEC3() argument
121 …self_type operator + (const self_type& rhs) const { VEC3 tmp; (void)VEC3Add(&tmp, this, &rhs); ret… argument
122 …self_type operator - (const self_type& rhs) const { VEC3 tmp; (void)VEC3Sub(&tmp, this, &rhs); ret… argument
123 self_type operator * (f32 f) const { VEC3 tmp; (void)VEC3Scale(&tmp, this, f); return tmp; } argument
132 self_type& Lerp(const VEC3& lhs, const VEC3& rhs, f32 t) in Lerp() argument
141 f32 Dot(const VEC3& vec) const in Dot() argument
149 f32 LenSq() const { return VEC3SquareLen(this); } in LenSq() argument
152 f32 LengthSquare() const { return VEC3SquareLen(this); } in LengthSquare() argument
155 f32 Length() const { return VEC3Len(this); } in Length() argument
167 self_type& SafeNormalize(const VEC3& alt) in SafeNormalize() argument
175 f32 DistanceSquare(const VEC3& vec) const in DistanceSquare() argument
184 self_type& Maximize(const VEC3& lhs, const VEC3& rhs) in Maximize() argument
193 self_type& Minimize(const VEC3& lhs, const VEC3& rhs) in Minimize() argument
202 self_type& Cross(const VEC3& lhs, const VEC3& rhs) in Cross() argument
231 bool IsZero() const { return VEC3IsZero(this); } in IsZero() argument
239 typedef struct VEC3 Vector3; argument