-#ifndef POINTCLOUD_H
+#if 0
+//#ifndef POINTCLOUD_H
#define POINTCLOUD_H
#include "common.h"
else return 0;
}
-static
-void pointcloud_render( world_instance *world, camera *cam, m4x3f model ){
+static void pointcloud_render( camera *cam, m4x3f model ){
if( pointcloud.anim < k_pointcloud_anim_idle_any ){
f32 const k_transition = 0.6f;
f32 t = (vg.time - pointcloud.anim_start) / k_transition;
vert->colour[i] = colour[i] * 255.0f;
}
+static void pointcloud_async_end(void *_, u32 __){
+ pointcloud_animate( k_pointcloud_anim_opening );
+}
+
+static void pointcloud_clear_async(void *_, u32 __){
+ pointcloud.count = 0;
+ pointcloud_animate( k_pointcloud_anim_opening );
+}
+
#endif /* POINTCLOUD_H */