| 16 | } |
| 17 | |
| 18 | void RavEngine::CameraComponent::SetTargetSize(unsigned int inwidth, unsigned int inheight) |
| 19 | { |
| 20 | width = inwidth; |
| 21 | height = inheight; |
| 22 | const float aspect = (float)width / height; |
| 23 | |
| 24 | switch (projection) { |
| 25 | case Mode::Perspective: |
| 26 | break; |
| 27 | case Mode::Orthographic: |
| 28 | break; |
| 29 | } |
| 30 | } |