jaulib v1.3.8
Jau Support Library (C++, Java, ..)
|
#include <cmath>
#include <climits>
#include <numbers>
#include <jau/base_math.hpp>
#include <jau/string_util.hpp>
#include <jau/math/vec3f.hpp>
Go to the source code of this file.
Namespaces | |
namespace | jau |
__pack(...): Produces MSVC, clang and gcc compatible lead-in and -out macros. | |
namespace | jau::math |
namespace | jau::math::util |
Functions | |
constexpr jau::math::Vec3f | jau::math::util::getEulerAngleOrientation (const jau::math::Vec3f &eulerRotation) noexcept |
Returns an orientation vector for given eurler X/Y/Z angles in radians. | |
constexpr float | jau::math::util::getOrthoWinZ (float orthoZ, float zNear, float zFar) noexcept |
Returns orthogonal distance (1f/zNear-1f/orthoZ) / (1f/zNear-1f/zFar);. | |
constexpr float | jau::math::util::getZBufferEpsilon (int zBits, float z, float zNear) noexcept |
Returns resolution of Z buffer of given parameter, see Love Your Z-Buffer. | |
constexpr int | jau::math::util::getZBufferValue (int zBits, float z, float zNear, float zFar) noexcept |
Returns Z buffer value of given parameter, see Love Your Z-Buffer. | |