blob: 51d3c5f812f925cbfb105b856deaefb5954bd59a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
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
|