| 21 | }; |
| 22 | |
| 23 | inline JGeometry::TVec3f stPlaneNormal(const stPlaneParam& plane) { |
| 24 | return JGeometry::TVec3f(plane.x, plane.y, plane.z); |
| 25 | } |
| 26 | |
| 27 | inline f32 stDot(const stPlaneParam& plane, const JGeometry::TVec3f &vec) { |
| 28 | return stPlaneNormal(plane).dot(vec); |