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
;
31 static void trail_alloc( trail_system
*sys
, u32 max
);
32 static void trail_system_update( trail_system
*sys
, f32 dt
,
33 v3f co
, v3f normal
, f32 alpha
);
34 static void trail_system_debug( trail_system
*sys
);
35 static void trail_system_prerender( trail_system
*sys
);
36 static void trail_system_render( trail_system
*sys
, camera
*cam
);