Move Vectormath main
C++20 game and graphics mathematics
Loading...
Searching...
No Matches
View.hpp File Reference
#include <optional>
#include <type_traits>
#include <mv/math/Mat4.hpp>
#include <mv/math/semantic/Direction3.hpp>
#include <mv/math/semantic/Point3.hpp>
#include <mv/math/transforms/Projection.hpp>

Go to the source code of this file.

Namespaces

namespace  mv
 
namespace  mv::math
 

Functions

template<typename T >
requires std::is_floating_point_v<T>
std::optional< Mat4< T > > mv::math::TryLookAt (const Point3< T > &eye, const Point3< T > &target, const Direction3< T > &up, Handedness handedness) noexcept
 
template<typename T >
requires std::is_floating_point_v<T>
std::optional< Mat4< T > > mv::math::TryLookAtLH (const Point3< T > &eye, const Point3< T > &target, const Direction3< T > &up) noexcept
 
template<typename T >
requires std::is_floating_point_v<T>
std::optional< Mat4< T > > mv::math::TryLookAtRH (const Point3< T > &eye, const Point3< T > &target, const Direction3< T > &up) noexcept