MCPcopy Create free account
hub / github.com/BSVino/MathForGameDevelopers / ConstructCameraView

Method ConstructCameraView

math/matrix.cpp:352–363  ·  view source on GitHub ↗

In order to do rendering we have to transform our global coordinates to be in the local space of the camera, with the specific requirement that the camera looks down the -Z axis. In this function we construct a matrix for this transformation. http://youtu.be/3ZmqJb7J5wE

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

NormalizedMethod · 0.80
CrossMethod · 0.80
InvertedTRMethod · 0.80
Matrix4x4Class · 0.70
LengthSqrMethod · 0.45

Tested by

no test coverage detected