//virtual
LOGICAL COpenGL_3D::Init(HDC hDC)
{
	if (!InitGL(hDC))
		return LOGICAL_FALSE;
	SetDefaultView();
	return LOGICAL_TRUE;
}
Beispiel #2
0
void MainGame::Render(sf::RenderWindow& renderWindow)
{
	//SetView(camera);
	_props.drawAll(renderWindow);
	_actors.drawAll(renderWindow);

	SetDefaultView();
	renderWindow.draw(fpsText);
	renderWindow.draw(_propsText);
	renderWindow.draw(_actorsText);
}