Soft2D
A 2D multi-material continuum physics engine designed for real-time applications.
Loading...
Searching...
No Matches
S2Shape Struct Reference

#include <soft2d_core.h>

Public Attributes

S2ShapeType type
 Shape's type.
 
S2ShapeUnion shape_union
 Shape's underlying data.
 

Detailed Description

Structure S2Shape

A uniform representation of various shape structures. The value of type should be consistent with the underlying shape structure of shape_union.


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