Back to class index
| OBB::RandomPointOnSurfaceSyntaxfloat3 OBB::RandomPointOnSurface(LCG &rng) const; [4 lines of code]Generates a random point on a random face of this OBB. The points are distributed uniformly. Performance0.115μsecs/call ≈ 8.7M calls/second ≈ 144.99k calls/frame (@ 60fps). See AlsoLeave a Comment |