-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOpenGLCircle.hpp
More file actions
34 lines (27 loc) · 953 Bytes
/
OpenGLCircle.hpp
File metadata and controls
34 lines (27 loc) · 953 Bytes
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
//
// OpenGLCircle.h
// OpenGLTutorial
//
// Created by Robby Tong on 1/5/19.
// Copyright © 2019 Robby Tong. All rights reserved.
//
#ifndef OpenGLCircle_h
#define OpenGLCircle_h
#include "OpenGLConehat.hpp"
class OpenGLCircle: public OpenGLConehat
{
private:
std::vector<OpenGLVertexAttributes> * mPrismEdge;
public:
OpenGLCircle(int pts_per_revolution=50,
float rgb[3]=NULL,
const char texture_filename[]=NULL,
bool finish_initializing=true);
virtual void initializeVerticies(std::vector<OpenGLVertexAttributes> * verticies,
const float rgb[],
GLuint * drawing_mode,
GLuint * polygon_mode,
float * mColorTextureRatio);
virtual std::vector<OpenGLVertexAttributes> * getPrismEdge(void);
};
#endif /* OpenGLCircle_h */