18 EggPoint(
const std::string &name) :
41 EggPrimitive::operator = (copy);
50 INLINE
bool EggPoint::
52 return (_flags & F_has_thick) != 0;
67 INLINE
void EggPoint::
68 set_thick(
double thick) {
70 _flags |= F_has_thick;
76 INLINE
void EggPoint::
79 _flags &= ~F_has_thick;
85 INLINE
bool EggPoint::
86 has_perspective()
const {
87 return (_flags & F_has_perspective) != 0;
96 return (_flags & F_perspective) != 0;
102 INLINE
void EggPoint::
103 set_perspective(
bool perspective) {
105 _flags |= F_perspective;
107 _flags &= ~F_perspective;
109 _flags |= F_has_perspective;
115 INLINE
void EggPoint::
116 clear_perspective() {
117 _flags &= ~(F_has_perspective | F_perspective);
A base class for any of a number of kinds of geometry primitives: polygons, point lights,...
double get_thick() const
Returns the thickness set on this particular point.
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.