6 typedef struct trail_system trail_system
;
7 typedef struct trail_point trail_point
;
8 typedef struct trail_vert trail_vert
;
12 v3f co
, normal
, right
;
19 v4f co
; /* xyz: position, w: alpha */
28 f32 width
, lifetime
, min_dist
;
30 static trails_test
= {
36 static void trail_alloc( trail_system
*sys
, u32 max
);
37 static void trail_system_update( trail_system
*sys
, f32 dt
,
38 v3f co
, v3f normal
, f32 alpha
);
39 static void trail_system_debug( trail_system
*sys
);
40 static void trail_system_prerender( trail_system
*sys
);
41 static void trail_system_render( trail_system
*sys
, camera
*cam
);