18EggPoint(
const std::string &name) :
41 EggPrimitive::operator = (copy);
52 return (_flags & F_has_thick) != 0;
68set_thick(
double thick) {
70 _flags |= F_has_thick;
79 _flags &= ~F_has_thick;
86has_perspective()
const {
87 return (_flags & F_has_perspective) != 0;
96 return (_flags & F_perspective) != 0;
102INLINE
void EggPoint::
103set_perspective(
bool perspective) {
105 _flags |= F_perspective;
107 _flags &= ~F_perspective;
109 _flags |= F_has_perspective;
115INLINE
void EggPoint::
117 _flags &= ~(F_has_perspective | F_perspective);
A single point, or a collection of points as defined by a single <PointLight> entry.
bool get_perspective() const
Returns the perspective flag set on this particular point.
double get_thick() const
Returns the thickness set on this particular point.
A base class for any of a number of kinds of geometry primitives: polygons, point lights,...