Fx2D
A C++20 2D rigid-body physics engine
Loading...
Searching...
No Matches
FxSatResult Struct Reference

#include <Solver.h>

+ Collaboration diagram for FxSatResult:

Public Attributes

FxVec2f normal = {1.0f, 0.0f}
 
float gap = -FxInfinityf
 
bool has_sep = false
 
size_t ref_edge_index = 0
 
FxVec2f ref_edge_dir = {0.0f, 0.0f}
 
size_t pen_vertex_index = 0
 

Detailed Description

Definition at line 16 of file Solver.h.

Member Data Documentation

◆ gap

float FxSatResult::gap = -FxInfinityf

Definition at line 18 of file Solver.h.

◆ has_sep

bool FxSatResult::has_sep = false

Definition at line 19 of file Solver.h.

◆ normal

FxVec2f FxSatResult::normal = {1.0f, 0.0f}

Definition at line 17 of file Solver.h.

◆ pen_vertex_index

size_t FxSatResult::pen_vertex_index = 0

Definition at line 22 of file Solver.h.

◆ ref_edge_dir

FxVec2f FxSatResult::ref_edge_dir = {0.0f, 0.0f}

Definition at line 21 of file Solver.h.

◆ ref_edge_index

size_t FxSatResult::ref_edge_index = 0

Definition at line 20 of file Solver.h.


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