Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
World3DProjection.cpp File Reference
#include "World3DProjection.hpp"
#include <algorithm>
#include <cmath>
#include <limits>
#include <vector>
Include dependency graph for World3DProjection.cpp:

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::engine
 

Functions

std::expected< World3DProjectionState, World3DProjectionError > monopoly::engine::makeWorld3DProjectionState (World3DRect viewport, World3DCamera camera)
 
std::optional< World3DRect > monopoly::engine::intersectWorld3DRect (World3DRect left, World3DRect right) noexcept
 
std::optional< World3DRect > monopoly::engine::world3DMeshScreenRect (const data::MeshBounds &bounds, const sequence::Matrix3D &worldTransform, const World3DProjectionState &projection) noexcept
 

Variable Documentation

◆ x

float x {}

Definition at line 12 of file World3DProjection.cpp.

◆ y

float y {}

Definition at line 12 of file World3DProjection.cpp.

◆ z

float z {}

Definition at line 12 of file World3DProjection.cpp.