mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Shapes.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include "Vector3.h"
9 
10 class Shapes {
11 public:
12  static void drawCircle( Vector3 pos, GLint n, GLfloat r, const GLfloat *colorCenter, const GLfloat *colorSurface );
13  static void drawCircle( GLfloat xPos, GLfloat yPos, GLfloat zPos, GLint n, GLfloat r, const GLfloat *colorCenter, const GLfloat *colorSurface );
14  static void drawCircleTex( Vector3 pos, GLint n, GLfloat r );
15  static void drawCircleTex( GLfloat xPos, GLfloat yPos, GLfloat zPos, GLint n, GLfloat r );
16  static void drawCircleTex( GLfloat xPos, GLfloat yPos, GLfloat zPos, GLint n, GLfloat r, const GLfloat *colorCenter, const GLfloat *colorSurface );
17  static void drawCircle( GLfloat xPos, GLfloat yPos, GLfloat zPos, GLint n, GLfloat r, float segmentStart, float segmentEnd, const GLfloat *colorCenter, const GLfloat *colorSurface );
18  static void drawCircleShape( GLfloat xPos, GLfloat yPos, GLfloat zPos, GLint n, GLfloat r, const GLfloat * color );
19  static void drawCircleShape( GLfloat xPos, GLfloat yPos, GLfloat zPos, GLint n, GLfloat r, float segmentStart, float segmentEnd, const GLfloat * color );
20  static void drawCircleShape( Vector3 pos, GLint n, GLfloat r, float segmentStart, float segmentEnd, const GLfloat * color );
21  static void drawCircleShapeDashed( GLfloat xPos, GLfloat yPos, GLfloat zPos, GLint n, GLfloat r, const GLfloat * color );
22  static void drawRect( GLfloat xCenterPos, GLfloat yCenterPos, GLfloat zPos, GLfloat width, GLfloat height );
23 private:
24  Shapes( void );
25  ~Shapes( void );
26 };