Home
last modified time | relevance | path

Searched refs:P0 (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/math/
Dmath_Geometry.h142 SEGMENT3(const f32* p) : P0(p), P1(p + 3) {} in SEGMENT3()
143 SEGMENT3(const VEC3& pt0, const VEC3& pt1) : P0(pt0), P1(pt1) {} in SEGMENT3()
145 operator f32*() { return &P0.x; }
146 operator const f32*() const { return &P0.x; }
147 bool operator==(const self_type& rhs) const { return P0 == rhs.P0 && P1 == rhs.P1; }
148 bool operator!=(const self_type& rhs) const { return P0 != rhs.P0 || P1 == rhs.P1; }
150 VEC3 P0;
157 P = S->P0; in Set()
158 VEC3Sub(&d, &S->P1, &S->P0); in Set()
212 PLANE(const VEC3& P0, const VEC3& P1, const VEC3& P2) in PLANE()
[all …]
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/sources/libraries/math/
Dmath_Geometry.cpp33 PLANE::Set(const VEC3* P0, const VEC3* P1, const VEC3* P2) in Set() argument
37 VEC3Sub(&v0, P2, P0); in Set()
38 VEC3Sub(&v1, P1, P0); in Set()
41 d = -VEC3Dot(&N, P0); in Set()
171 VEC3 P0(0.f, 0.f, 0.f); in Set() local
206 leftPlane.Set(&P0, &P[3], &P[0]); in Set()
207 rightPlane.Set(&P0, &P[1], &P[2]); in Set()
208 topPlane.Set(&P0, &P[0], &P[1]); in Set()
209 bottomPlane.Set(&P0, &P[2], &P[3]); in Set()
218 VEC3Transform(&P0, &invCamera, &P0); in Set()
[all …]