Example #1
0
	void Plane::init()
	{
		init_shader();
		init_buffer();
		init_vertexArray();
		init_texture();
	}
Example #2
0
void Rectangle::Init()
{
	init_buffer();
	init_vertexArray();
	init_shader();
	init_texture();
}
Example #3
0
	void Triangle::init()
	{
	
		init_shader();
		init_buffer();
		init_vertexArray();
	}
Example #4
0
void Torus::Init()
{
	init_buffer();
	init_vertexArray();
	init_shader();
	init_texture();
}
Example #5
0
void init()
{
	glClearColor(0.0f, 0.0f, 0.4f, 0.0f);

	init_shader();
	init_buffer();
	init_vertexArray();
}
Example #6
0
	void Scene::Init()
	{
		init_buffer();
		init_vertexArray();
		init_shader();
		init_texture();
		oglDebug.Debug();
	}
Example #7
0
void TriangleApp::init()
{
	init_shader();
	init_buffer();
	init_vertexArray();
	init_texture();
	init_windowInfo();
}
Example #8
0
void Instance::Init()
{
	init_buffer();
	init_vertexArray();
	init_shader();


}
Example #9
0
	void DebugWindow::Init(int depthWidth, int depthHeight)
	{
		glViewport(0, 0, depthWidth, depthHeight);

		init_buffer();
		init_vertexArray();
		init_shader();
	}
Example #10
0
	void Cube::init()
	{
		init_viewport();
		init_shader();
		init_buffer();
		init_vertexArray();
	
	}
Example #11
0
	void Plane::init()
	{

		m_LightGUI.v_init();

		init_buffer();
		init_vertexArray();
		init_shader();
		init_texture();
	}
Example #12
0
void Clip::init()
{
	glEnable(GL_DEPTH_TEST);
	glEnable(GL_CLIP_DISTANCE0);
	glEnable(GL_CLIP_DISTANCE1);

	init_buffer();
	init_vertexArray();
	init_shader();
}
Example #13
0
void Point::Init()
{
	init_buffer();
	init_vertexArray();
	init_shader();
}
Example #14
0
void Cube::Init()
{
	init_buffer();
	init_vertexArray();
	init_shader();
}
	void v_Init()
	{
		init_buffer();
		init_vertexArray();
		init_shader();
	}
Example #16
0
	void Asteroid::Init()
	{
		init_buffer();
		init_vertexArray();
		init_shader();
	}
Example #17
0
	void OGLRTT::init(glm::vec2 pos, glm::vec2 size)
	{
		init_buffer(pos, size);
		init_vertexArray();
		init_shader();
	}