![]() |
Oolite 1.91.0.7650-250121-affa790
|
#include <OOBreakPatternEntity.h>
Class Methods | |
(instancetype) | + breakPatternWithPolygonSides:startAngle:aspectRatio: |
Private Attributes | |
Vector | _vertexPosition [kOOBreakPatternMaxVertices] |
GLfloat | _vertexColor [kOOBreakPatternMaxVertices][4] |
NSUInteger | _vertexCount |
double | _lifetime |
Definition at line 44 of file OOBreakPatternEntity.h.
+ (instancetype) breakPatternWithPolygonSides: | (NSUInteger) | sides | |
startAngle: | (float) | startAngleDegrees | |
aspectRatio: | (float) | aspectRatio |
Definition at line 83 of file OOBreakPatternEntity.m.
Referenced by Universe::setUpBreakPattern:orientation:forDocking:.
|
implementation |
Reimplemented from Entity.
Definition at line 163 of file OOBreakPatternEntity.m.
References canCollide.
Referenced by canCollide.
|
implementation |
Reimplemented from Entity.
Definition at line 128 of file OOBreakPatternEntity.m.
References _vertexColor, _vertexCount, _vertexPosition, Entity::isImmuneToBreakPatternHide, OO_ENTER_OPENGL, OOCheckOpenGLErrors(), OOGL, OOSetOpenGLState, OOVerifyOpenGLState, and OPENGL_STATE_OPAQUE.
|
implementation |
Definition at line 43 of file OOBreakPatternEntity.m.
References _vertexCount, _vertexPosition, Entity::init, Entity::isImmuneToBreakPatternHide, kOOBreakPatternMaxSides, M_PI, MAX, MIN, setInnerColorComponents:outerColorComponents:, Entity::setScanClass:, and Entity::setStatus:.
|
implementation |
Reimplemented from Entity.
Definition at line 169 of file OOBreakPatternEntity.m.
References isBreakPattern.
Referenced by isBreakPattern.
Definition at line 89 of file OOBreakPatternEntity.m.
References OOColor::getRed:green:blue:alpha:, and setInnerColorComponents:outerColorComponents:.
Referenced by Universe::setUpBreakPattern:orientation:forDocking:.
|
implementation |
Provided by category OOBreakPatternEntity(Private).
Definition at line 98 of file OOBreakPatternEntity.m.
Referenced by initWithPolygonSides:startAngle:aspectRatio:, and setInnerColor:outerColor:.
- (void) setLifetime: | (double) | lifetime |
Definition at line 110 of file OOBreakPatternEntity.m.
References _lifetime.
Referenced by Universe::setUpBreakPattern:orientation:forDocking:.
|
implementation |
Reimplemented from Entity.
Definition at line 116 of file OOBreakPatternEntity.m.
References _lifetime, BREAK_PATTERN_RING_SPEED, and Entity::update:.
|
private |
Definition at line 50 of file OOBreakPatternEntity.h.
Referenced by setLifetime:, and update:.
|
private |
Definition at line 48 of file OOBreakPatternEntity.h.
Referenced by drawImmediate:translucent:.
|
private |
Definition at line 49 of file OOBreakPatternEntity.h.
Referenced by drawImmediate:translucent:, and initWithPolygonSides:startAngle:aspectRatio:.
|
private |
Definition at line 47 of file OOBreakPatternEntity.h.
Referenced by drawImmediate:translucent:, and initWithPolygonSides:startAngle:aspectRatio:.