Back to class index
| Circle::CircleSyntaxCircle::Circle(); [1 line of code]The default constructor does not initialize any members of this class. This means that the values of the members pos, normal and r are all undefined after creating a new circle using this default constructor. Remember to assign to them before use. See AlsoSyntaxCircle::Circle(const float4 ¢er, const float4 &normal, float radius); [6 lines of code]Constructs a new circle by explicitly specifying the member variables. Parametersconst float4 ¢erThe center point of the circle. const float4 &normalThe direction vector that specifies the orientation of this circle. This vector must be normalized, this constructor will not normalize the vector for you (for performance reasons). floatradiusThe radius of the circle. See Also |