Home
last modified time | relevance | path

Searched refs:VEC3Scale (Results 1 – 3 of 3) sorted by relevance

/CTR-SDK-0.14.4/include/nn/math/
Dmath_Vector3.h45 inline VEC3* VEC3Scale(VEC3* pOut, const VEC3* p, f32 scale);
114 self_type& operator *= (f32 f) { (void)VEC3Scale(this, this, f); return *this; }
123 self_type operator * (f32 f) const { VEC3 tmp; (void)VEC3Scale(&tmp, this, f); return tmp; }
315 VEC3Scale(VEC3* pOut, const VEC3* p, f32 scale) in VEC3Scale() function
405 operator * (f32 f, const VEC3& rhs) { VEC3 tmp; (void)VEC3Scale(&tmp, &rhs, f); return tmp; }
473 inline VEC3* VEC3Scale(VEC3* pOut, const VEC3& v, f32 scale) { return VEC3Scale( pOut, &v, scale );… in VEC3Scale() function
Dmath_Geometry.h231 (void)VEC3Scale(&N, &N, r); in Normalize()
/CTR-SDK-0.14.4/sources/libraries/math/
Dmath_Geometry.cpp244 VEC3Add(&PP, &L->P, VEC3Scale(&PP, &L->d, t_)); in DistSqPoint3ToLine3()
327 VEC3Sub(Q, P, VEC3Scale(&tmp, &J->N, k)); in DistSqPoint3ToPlane()
528 VEC3Scale(&tmp0, &L0->d, s_), in DistSqLine3ToLine3()
529 VEC3Scale(&tmp1, &L1->d, t_)); in DistSqLine3ToLine3()
665 VEC3Add(&v, &L->P, VEC3Scale(&tmp, &L->d, s_)); in DistSqLine3ToRay3()
667 VEC3Sub(&v, &v, VEC3Scale(&tmp, &R->d, t_)); in DistSqLine3ToRay3()
732 VEC3Add(&v, &L0->P, VEC3Scale(&tmp, &L0->d, s_)); in DistSqLine3ToSegment3()
734 VEC3Sub(&v, &v, VEC3Scale(&tmp, &segDir, t_)); in DistSqLine3ToSegment3()
807 VEC3Add(&v, &R0->P, VEC3Scale(&tmp, &R0->d, s_)); in DistSqRay3ToRay3()
809 VEC3Sub(&v, &v, VEC3Scale(&tmp, &R1->d, t_)); in DistSqRay3ToRay3()
[all …]