12 Camera(
float fov,
float aspect_ratio,
float z_near,
float z_far)
auto aspect() const
Definition camera.hpp:24
float fov_
Definition camera.hpp:38
auto projection() const
Definition camera.hpp:26
float z_far_
Definition camera.hpp:41
float aspect_ratio_
Definition camera.hpp:39
float z_near_
Definition camera.hpp:40
auto aspect(float aspect)
Definition camera.hpp:20
void update_projection_matrix()
Definition camera.hpp:31
Camera(float fov, float aspect_ratio, float z_near, float z_far)
Definition camera.hpp:12
auto transform() const
Definition camera.hpp:28
wren::math::Mat4f projection_
Definition camera.hpp:43
wren::scene::components::Transform transform_
Definition camera.hpp:36
auto perspective(T fov_y, T aspect, T z_near, T z_far)
Definition geometry.hpp:57
auto radians(float degrees) -> float
Definition geometry.hpp:14
auto z() const
Definition vector.hpp:144