Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
MathUtils::randomPointInCircle Function
Syntax
C++
Point2F randomPointInCircle(F32 radius);

Returns a random 2D point within a circle of the specified radius centered at the origin. 

 

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