#include <OOPolygonSprite.h>
Definition at line 4441 of file HeadUpDisplay.m.
◆ oo_drawHUDBeaconIconAt:size:alpha:z:
- (void) oo_drawHUDBeaconIconAt: |
|
(NSPoint) | where |
size: |
|
(NSSize) | size |
alpha: |
|
(GLfloat) | alpha |
z: |
|
(GLfloat) | z |
|
implementation |
Extends class OOPolygonSprite.
Definition at line 4384 of file HeadUpDisplay.m.
4443 :(NSPoint)where
size:(NSSize)
size alpha:(GLfloat)alpha z:(GLfloat)z
4444{
4445 GLfloat
x = where.x -
size.width;
4446 GLfloat
y = where.y - 1.5 *
size.height;
4447
4448 GLfloat ox =
x -
size.width * 0.5;
4449 GLfloat oy =
y -
size.height * 0.5;
4450 GLfloat width =
size.width * (1.0f / 6.0f);
4451 GLfloat height =
size.height * (1.0f / 6.0f);
4452
4456 [self drawFilled];
4457 glColor4f(0.0, 0.0, 0.0, 0.5 * alpha);
4458 [self drawOutline];
4460}
void OOGLScaleModelView(Vector scale)
void OOGLPushModelView(void)
void OOGLTranslateModelView(Vector vector)
OOMatrix OOGLPopModelView(void)
The documentation for this category was generated from the following file: