mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-21 13:55:10 +00:00
Merge branch 'renderer' into animations
This commit is contained in:
@@ -112,12 +112,14 @@ void RAY::Window::setDrawingState(enum RAY::Window::drawingState state)
|
||||
|
||||
void RAY::Window::useCamera(RAY::Camera::Camera2D &camera)
|
||||
{
|
||||
this->unuseCamera();
|
||||
this->_displayState = RAY::Window::TWO_DIMENSIONNAL;
|
||||
BeginMode2D(camera);
|
||||
}
|
||||
|
||||
void RAY::Window::useCamera(RAY::Camera::Camera3D &camera)
|
||||
{
|
||||
this->unuseCamera();
|
||||
this->_displayState = RAY::Window::THREE_DIMENSIONNAL;
|
||||
BeginMode3D(camera);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user