#include <OOPolygonSprite.h>
Definition at line 4438 of file HeadUpDisplay.m.
◆ oo_drawHUDBeaconIconAt:size:alpha:z:
| - (void) oo_drawHUDBeaconIconAt: |
|
(NSPoint) |
where |
| size: |
|
(NSSize) |
size |
| alpha: |
|
(GLfloat) |
alpha |
| z: |
|
(GLfloat) |
z |
|
|
| |
|
implementation |
Definition at line 4381 of file HeadUpDisplay.m.
4440 :(NSPoint)where
size:(NSSize)
size alpha:(GLfloat)alpha z:(GLfloat)z
4441{
4442 GLfloat
x = where.x -
size.width;
4443 GLfloat
y = where.y - 1.5 *
size.height;
4444
4445 GLfloat ox =
x -
size.width * 0.5;
4446 GLfloat oy =
y -
size.height * 0.5;
4447 GLfloat width =
size.width * (1.0f / 6.0f);
4448 GLfloat height =
size.height * (1.0f / 6.0f);
4449
4453 [self drawFilled];
4454 glColor4f(0.0, 0.0, 0.0, 0.5 * alpha);
4455 [self drawOutline];
4457}
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: