-
Notifications
You must be signed in to change notification settings - Fork 1
/
CAR.h
48 lines (31 loc) · 851 Bytes
/
CAR.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef CAR_H
#define CAR_H
#include <GL/glut.h>
class CAR
{
//--------------------------------------------------------------------
public:
int model;
void SelectModel(int i); //to select Model
//-----------------------------------------------------------------
//private:
float M[3];
float B[3];
float G[4];
float L[3];
void SetM(float a,float b,float c);
void SetB(float a,float b,float c);
void SetL(float a,float b,float c);
void SetG(float a,float b,float c);
void Model1();
void Model2();
void Model3();
void Model4();
void WireFrame();
void Paint();
void Lights();
void Wheels(float aw);
void Tyre();
void DrawCar(float a,float b,float c,float A,float Aw); //to draw CAR
};
#endif