Closed 17cupsofcoffee closed 4 years ago
Summary: Until Camera::update is called for the first time, Camera::as_matrix will return an identity matrix.
Camera::update
Camera::as_matrix
Steps to reproduce:
camera
graphics::set_transform_matrix
Expected behavior: The initial matrix should be calculated when the Camera is constructed.
Camera
Summary: Until
Camera::update
is called for the first time,Camera::as_matrix
will return an identity matrix.Steps to reproduce:
camera
.graphics::set_transform_matrix
with the camera's matrix.Expected behavior: The initial matrix should be calculated when the
Camera
is constructed.