-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOpenGLFloor.hpp
More file actions
32 lines (26 loc) · 795 Bytes
/
OpenGLFloor.hpp
File metadata and controls
32 lines (26 loc) · 795 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
//
// OpenGLFloor.hpp
// OpenGLTutorial
//
// Created by Robby Tong on 1/21/19.
// Copyright © 2019 Robby Tong. All rights reserved.
//
#ifndef OpenGLFloor_hpp
#define OpenGLFloor_hpp
#include <stdio.h>
#include "OpenGLPrimitive.hpp"
class OpenGLFloor: public OpenGLPrimitive
{
private:
float mSpacing;
float mWidth;
float mHeight;
public:
OpenGLFloor(float width, float height, float spacing);
virtual void initializeVerticies(std::vector<OpenGLVertexAttributes> * verticies,
const float rgb[],
GLuint * drawing_mode,
GLuint * polygon_mode,
float * mColorTextureRatio) override;
};
#endif /* OpenGLFloor_hpp */