22 EggPoint(
const string &name) :
49 EggPrimitive::operator = (copy);
60 INLINE
bool EggPoint::
62 return (_flags & F_has_thick) != 0;
81 INLINE
void EggPoint::
82 set_thick(
double thick) {
84 _flags |= F_has_thick;
92 INLINE
void EggPoint::
95 _flags &= ~F_has_thick;
103 INLINE
bool EggPoint::
104 has_perspective()
const {
105 return (_flags & F_has_perspective) != 0;
117 return (_flags & F_perspective) != 0;
125 INLINE
void EggPoint::
126 set_perspective(
bool perspective) {
128 _flags |= F_perspective;
130 _flags &= ~F_perspective;
132 _flags |= F_has_perspective;
140 INLINE
void EggPoint::
141 clear_perspective() {
142 _flags &= ~(F_has_perspective | F_perspective);
A base class for any of a number of kinds of geometry primitives: polygons, point lights...
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.