coastline 0.0.4
Loading...
Searching...
No Matches
ModelKeyframe Struct Reference

A key of an animation: its time, then the position of each vertex, then its normal. More...

#include <model.h>

Public Attributes

f32 time
s16 positions [][3]

Detailed Description

A key of an animation: its time, then the position of each vertex, then its normal.

The normals follow the positions of all the vertices, so they have no field.

Member Data Documentation

◆ time

f32 ModelKeyframe::time

The time of the key in the animation, in seconds.

◆ positions

s16 ModelKeyframe::positions[][3]

The position of each vertex, followed by the normals.


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