- convert main.vp to c++ so softpoly can use it

This commit is contained in:
Magnus Norddahl 2019-05-25 01:27:20 +02:00
commit fbaeb11fba
2 changed files with 202 additions and 0 deletions

View file

@ -28,6 +28,7 @@
#include "polyrenderer/math/gpu_types.h"
#include "polyrenderer/drawers/poly_buffer.h"
#include "polyrenderer/drawers/poly_draw_args.h"
#include "polyrenderer/drawers/poly_vertex_shader.h"
class DCanvas;
class PolyDrawerCommand;
@ -158,6 +159,7 @@ private:
int modelFrame2 = -1;
float modelInterpolationFactor = 0.0f;
PolyVertexShader *vertexShader = nullptr;
PolyMainVertexShader mainVertexShader;
enum { max_additional_vertices = 16 };