Back to class index
| OBB::FacePointSyntaxfloat3 OBB::FacePoint(int faceIndex, float u, float v) const; [21 lines of code]Generates a point at the surface of the given face of this OBB. ParametersintfaceIndexThe index of the OBB face to generate the point at. The valid range is [0, 5]. floatuA normalized value between [0, 1]. floatvA normalized value between [0, 1]. Performance1.092μsecs/call ≈ 915.75k calls/second ≈ 15.26k calls/frame (@ 60fps). See AlsoWork in progress:Todo: in float3 OBB::FacePoint(int faceIndex, float u, float v) const: Document which index generates which face. Leave a Comment |