My Project
|
Main scene. More...
#include "scene/scene.h"
Public Member Functions | |
Scene () | |
Scene (HWND hWnd, int x, int y, int width, int height) | |
~Scene () | |
void | DrawScene () |
void | AddBrick (Brick brick, int X, int Y, int Z, COLORREF color) |
void | toCam () |
Public Attributes | |
Composite * | bricks |
Camera * | cam |
Vertex | light |
Vertex | slight |
Main scene.
Provide interface to bricks on scene, camera. Launchs render.
Scene::Scene | ( | ) |
Scene::Scene | ( | HWND | hWnd, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
void Scene::AddBrick | ( | Brick | brick, |
int | X, | ||
int | Y, | ||
int | Z, | ||
COLORREF | color | ||
) |
void Scene::DrawScene | ( | ) |
void Scene::toCam | ( | ) |