camera.ixx File
Camera transform helpers. More...
Included Headers
#include <cmath>
#include <helios.math.utils>
#include <helios.math.types>
Namespaces Index
| namespace | helios |
| namespace | math |
|
Mathematical operations and types. More... | |
Description
Camera transform helpers.
File Listing
The file content with the documentation metadata removed is:
15export namespace helios::math {
33 * @see https://thorsten.suckow-homberg.de/docs/articles/computer-graphics/from-camera-to-clip-space-derivation-of-the-projection-matrices
35 inline mat4f perspective(float fovY, float aspect, float zNear, float zFar) noexcept {
39 return mat4f{
73 return mat4f{
108 const auto x = cross(up, z).normalize();
109 const auto y = cross(z, x).normalize();
111 return mat4f{
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.