sandbox
Loading...
Searching...
No Matches
sbx::scenes::camera Class Reference

Public Member Functions

 camera (const math::angle &field_of_view, std::float_t aspect_ratio, std::float_t near_plane, std::float_t far_plane)
 
auto field_of_view () const noexcept -> const math::angle &
 
auto set_field_of_view (const math::angle &field_of_view) -> void
 
auto aspect_ratio () const noexcept -> std::float_t
 
auto set_aspect_ratio (std::float_t aspect_ratio) noexcept -> void
 
auto near_plane () const noexcept -> std::float_t
 
auto far_plane () const noexcept -> std::float_t
 
auto projection () const noexcept -> const math::matrix4x4 &
 
auto projection (const std::float_t near, const std::float_t far) const noexcept -> math::matrix4x4
 
auto view_frustum (const math::matrix4x4 &view) const noexcept -> frustum
 

The documentation for this class was generated from the following file: