Claude Chappe' Curse - A C Game
Logo Institut d'Informatique Claude Chappe Logo Université de Le Mans Logo Raeptor Production
 
Loading...
Searching...
No Matches
Bone Struct Reference

Structure representing a bone in a 3D model. More...

#include <model.h>

Collaboration diagram for Bone:

Public Attributes

char name [128]
 
mat4 offsetMatrix
 
mat4 transform
 
ModelKeyframetranslationKeyframes
 
u32 translationKeyframesCount
 
ModelKeyframerotationKeyframes
 
u32 rotationKeyframesCount
 
ModelKeyframescaleKeyframes
 
u32 scaleKeyframesCount
 
u32 index
 

Detailed Description

Structure representing a bone in a 3D model.

This structure holds the name, parent, and children of a bone in a 3D model.

Member Data Documentation

◆ name

char Bone::name[128]

Name of the bone

◆ offsetMatrix

mat4 Bone::offsetMatrix

Offset matrix

◆ transform

mat4 Bone::transform

Transformation matrix

◆ translationKeyframes

ModelKeyframe* Bone::translationKeyframes

Array of translation keyframes

◆ translationKeyframesCount

u32 Bone::translationKeyframesCount

Number of translation keyframes

◆ rotationKeyframes

ModelKeyframe* Bone::rotationKeyframes

Array of rotation keyframes

◆ rotationKeyframesCount

u32 Bone::rotationKeyframesCount

Number of rotation keyframes

◆ scaleKeyframes

ModelKeyframe* Bone::scaleKeyframes

Array of scale keyframes

◆ scaleKeyframesCount

u32 Bone::scaleKeyframesCount

Number of scale keyframes

◆ index

u32 Bone::index

Index of the bone


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