4coder/custom/4coder_delta_rule.h

32 lines
452 B
C
Raw Normal View History

/*
4coder_delta_rule.h - Types for built in delta rules and delta rule helpers.
*/
// TOP
#if !defined(FCODER_DELTA_RULE_H)
#define FCODER_DELTA_RULE_H
union Delta_Context_Header{
Buffer_Point point;
Vec2_f32 p;
};
struct Buffer_Point_Delta_Result{
Buffer_Point point;
b32 still_animating;
};
struct Vec2_f32_Delta_Result{
Vec2_f32 p;
b32 still_animating;
};
struct Smooth_Step{
f32 p;
f32 v;
};
#endif
// BOTTOM