blob: 4563427aaa480974cd1886d44c7835d7c58f618b (
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
|
/*
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
|