3 typedef struct trail_system trail_system
;
4 typedef struct trail_point trail_point
;
5 typedef struct trail_vert trail_vert
;
16 v4f co
; /* xyz: position, w: alpha */
25 f32 width
, lifetime
, min_dist
;
28 void trail_alloc( trail_system
*sys
, u32 max
);
29 void trail_system_update( trail_system
*sys
, f32 dt
, v3f co
,
30 v3f normal
, f32 alpha
);
31 void trail_system_debug( trail_system
*sys
);
32 void trail_system_prerender( trail_system
*sys
);
33 void trail_system_render( trail_system
*sys
, vg_camera
*cam
);