medfall

A super great game engine
Log | Files | Refs

bsp_renderer.h (285B)


      1 #pragma once
      2 
      3 #include "bsp.h"
      4 #include "renderer.h"
      5 
      6 struct BSPRenderer {
      7 	const BSP * bsp;
      8 	Mesh mesh;
      9 };
     10 
     11 void bspr_init( BSPRenderer * bspr, const BSP * bsp );
     12 void bspr_render( const BSPRenderer * bspr, const RenderState & render_state );
     13 void bspr_destroy( BSPRenderer * bspr );