23#include "guillaume/components/ring.hpp"
40 if (_thickness == thickness) {
43 _thickness = thickness;
55 if (_segments == segments) {
Ring & setThickness(float thickness)
Set the thickness of the ring.
float getThickness(void) const
Get the thickness of the ring.
int SegmentCount
A number of straight segments.
Ring & setSegments(SegmentCount segments)
Set how many straight segments approximate the ring.
SegmentCount getSegments(void) const
Get how many straight segments approximate the ring.
Ring(void)
Construct a ring 8 dp thick drawn with 48 segments.
void setHasChanged(bool hasChanged)
Raise or lower the changed flag.
State. Every class here is plain data attached to an entity.