Back to class index
| Capsule::PointInsideSyntaxfloat4 Capsule::PointInside(float l, float a, float d) const; [5 lines of code]Generates a point inside this capsule. Note This function does not generate points inside this capsule uniformly, as (l,a,d) ranges uniformly over [0,1]^3. ParametersfloatlA normalized value between [0,1]. This specifies the point position along the height line of this capsule. floataA normalized value between [0,1]. This specifies the normalized directed angle of the point position around the capsule line segment. floatdA normalized value between [0,1]. This specifies the normalized distance of the point position from the capsule line segment. See Also |