18 FisheyeMaker(
const std::string &name) :
Namable(name) {
37 _num_vertices = num_vertices;
53 _square_inscribed = square_inscribed;
54 _square_radius = square_radius;
66 _reflect = (reflection) ? -1.0 : 1.0;
void set_square_inscribed(bool square_inscribed, PN_stdfloat square_radius)
Sets the flag that indicates whether the rose should be inscribed within a square.
A base class for all things which can have a name.
void reset()
Resets all the parameters to their initial defaults.
void set_reflection(bool reflection)
Sets the flag indicating whether the texture image should be mirrored (true) or normal (false).
void set_num_vertices(int num_vertices)
Specifies the approximate number of vertices to be used to generate the rose.