medfall

A super great game engine
Log | Files | Refs

skybox.h (285B)


      1 #pragma once
      2 
      3 #include "linear_algebra.h"
      4 #include "renderer.h"
      5 
      6 struct Skybox {
      7 	Mesh mesh;
      8 };
      9 
     10 void skybox_init( Skybox * skybox );
     11 void skybox_render( const Skybox * skybox, u8 pass, const m4 & V, const m4 & P, float sun_angle, v3 sun_dir );
     12 void skybox_destroy( Skybox * skybox );