-
Notifications
You must be signed in to change notification settings - Fork 0
RulVec
lowerBoundX : Lower limit for the x-component
lowerBoundY : Lower limit for the y-component
upperBoundX : Upper limit for the x-component
upperBoundY : Upper limit for the y-component
Returns a random 2-dimensional vector within the specified range
baseVector : The vector that will be used as a base for the new random one
maxXVariance : The highest possible difference between the vectors' x-components
maxYVariance : The highest possible difference between the vectors' y-components
Returns a 2-dimensional vector whose components can vary from the base vector by a limited amount.
baseVector : The vector that will be used as a base for the new random one
maxAngle : The greatest possible angle(in radians) between the base vector and the rotated random vector
Returns a randomly rotated version of the given base vector
Returns a random 2-dimensional vector with the length 1
circleRadius : The radius of the circle containing the random vector
Returns a random 2-dimensional vector that lies in the circle with the specified radius
Returns a 2-dimensional vector that points up, down, left or right