Pico Headers
Loading...
Searching...
No Matches
Public Attributes | List of all members
ph_manifold_t Struct Reference

A collision manifold Provides information about a collision. Normals always point from shape 1 to shape 2. More...

#include <pico_hit.h>

Collaboration diagram for ph_manifold_t:
Collaboration graph
[legend]

Public Attributes

pv2 normal
 Normal to colliding edge (in direction of MTV)
 
pfloat overlap
 Amount of overlap between two shapes along colliding axis (MTD)
 
pv2 vector
 Vector defined by vector = normal * overlap
 

Detailed Description

A collision manifold Provides information about a collision. Normals always point from shape 1 to shape 2.

Member Data Documentation

◆ normal

pv2 ph_manifold_t::normal

Normal to colliding edge (in direction of MTV)

◆ overlap

pfloat ph_manifold_t::overlap

Amount of overlap between two shapes along colliding axis (MTD)

◆ vector

pv2 ph_manifold_t::vector

Vector defined by vector = normal * overlap


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