mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-09 04:14:58 +00:00
reposition camera
This commit is contained in:
@@ -87,8 +87,8 @@ namespace BBM
|
||||
animation.setAnimIndex(5);
|
||||
});
|
||||
scene->addEntity("camera")
|
||||
.addComponent<PositionComponent>(8, 4, -15)
|
||||
.addComponent<CameraComponent>(Vector3f(8, 3, 8));
|
||||
.addComponent<PositionComponent>(8, 20, 7)
|
||||
.addComponent<CameraComponent>(Vector3f(8, 0, 8));
|
||||
/*scene->addEntity("cube")
|
||||
.addComponent<PositionComponent>(-5, 0, -5)
|
||||
.addComponent<Drawable3DComponent, RAY3D::Cube>(Vector3f(0, 0, 0), Vector3f(3, 3, 3), RED)
|
||||
|
||||
Reference in New Issue
Block a user