Back to class index
| Capsule::UniformPointPerhapsInsideSyntaxfloat4 Capsule::UniformPointPerhapsInside(float l, float x, float y) const; [4 lines of code]Generates a point that perhaps lies inside this capsule. Note This function will generate points uniformly, but they do not necessarily lie inside the capsule. ParametersfloatlA normalized value between [0,1]. This specifies the point position along the height line of this capsule. floatxA normalized value between [0,1]. This specifies the x coordinate on the plane of the circle cross-section specified by l. floatyA normalized value between [0,1]. This specifies the y coordinate on the plane of the circle cross-section specified by l. See Also |