Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FixedCamera *fixedCamera = new FixedCamera();
- AddChild(fixedCamera);
- SetActiveCamera(fixedCamera->GetComponent<CameraComponent>());
- fixedCamera->GetTransform()->Translate(0.0f, 27.0f, 0.0f);
- fixedCamera->GetTransform()->Rotate(XM_PIDIV2, 0.0f, 0.0f, false);
- /*FixedCamera* fixedCam = new FixedCamera();
- AddChild(fixedCam);
- SetActiveCamera(fixedCam->GetComponent<CameraComponent>());
- fixedCam->GetTransform()->Translate(XMFLOAT3(0, 50, 0));
- fixedCam->GetComponent<CameraComponent>()->GetTransform()->Rotate(XMFLOAT3(90, 0, 0), false);
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement