MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SetTargetSize

Method SetTargetSize

src/CameraComponent.cpp:18–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void 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}

Callers 1

DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected