Torque 3D 3.8
ContentsIndexHome
PreviousUpNext
MathUtils::randomPointInSphere Function
Syntax
C++
Point3F randomPointInSphere(F32 radius);

Returns a random 3D point within a sphere of the specified radius centered at the origin. 

 

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!