libsf3
Loading...
Searching...
No Matches
Data Fields
sf3_physics_model Struct Reference

#include <sf3_physics_model.h>

Collaboration diagram for sf3_physics_model:
Collaboration graph
[legend]

Data Fields

struct sf3_identifier identifier
 
float mass
 The mass of the entire model in Kg.
 
float tensor [9]
 
uint16_t shape_count
 The number of shapes that comprise the model.
 
struct sf3_physics_shape shapes []
 

Detailed Description

A physics model file.

See SF3_FORMAT_ID_PHYSICS_MODEL

Definition at line 101 of file sf3_physics_model.h.

Field Documentation

◆ identifier

struct sf3_identifier sf3_physics_model::identifier

Definition at line 102 of file sf3_physics_model.h.

◆ mass

float sf3_physics_model::mass

The mass of the entire model in Kg.

Definition at line 104 of file sf3_physics_model.h.

◆ shape_count

uint16_t sf3_physics_model::shape_count

The number of shapes that comprise the model.

Definition at line 109 of file sf3_physics_model.h.

◆ shapes

struct sf3_physics_shape sf3_physics_model::shapes[]

Definition at line 110 of file sf3_physics_model.h.

◆ tensor

float sf3_physics_model::tensor[9]

The inertia tensor of the entire model stored as a 3x3 matrix in row-major order.

Definition at line 107 of file sf3_physics_model.h.


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