Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::springbone::Collider Struct Reference

A collider in world space: a sphere when a == b, else a capsule from a to b. More...

#include <SpringBoneSolver.hpp>

Public Attributes

glm::vec3 a {0.0f}
glm::vec3 b {0.0f}
f32 radius = 0.0f

Detailed Description

A collider in world space: a sphere when a == b, else a capsule from a to b.

Definition at line 50 of file SpringBoneSolver.hpp.

Member Data Documentation

◆ a

glm::vec3 esengine::springbone::Collider::a {0.0f}

Definition at line 51 of file SpringBoneSolver.hpp.

Referenced by esengine::springbone::pushOut().

◆ b

glm::vec3 esengine::springbone::Collider::b {0.0f}

Definition at line 52 of file SpringBoneSolver.hpp.

Referenced by esengine::springbone::pushOut().

◆ radius

f32 esengine::springbone::Collider::radius = 0.0f

Definition at line 53 of file SpringBoneSolver.hpp.

Referenced by esengine::springbone::pushOut().


The documentation for this struct was generated from the following file: