Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
PlacementBounds.hpp File Reference

Conservative mesh reach and affine stretch for native placements. More...

#include "../../core/Types.hpp"
#include <glm/glm.hpp>
#include <algorithm>
#include <cmath>
Include dependency graph for PlacementBounds.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  esengine
namespace  esengine::placement_bounds

Functions

f32 esengine::placement_bounds::radius (const glm::vec3 &lo, const glm::vec3 &hi, f32 displacement)
f32 esengine::placement_bounds::stretchSquared (const f32 *rows)
void esengine::placement_bounds::transformedBox (const glm::mat3 &parent, const f32 *rows, const glm::vec3 &origin, const glm::vec3 &localCentre, const glm::vec3 &localHalf, glm::vec3 &centre, glm::vec3 &half)

Detailed Description

Conservative mesh reach and affine stretch for native placements.

Definition in file PlacementBounds.hpp.