Vertex Shader is now GPU-Accelerated

This commit is contained in:
2019-12-18 19:09:00 +02:00
parent a47ccbc3cd
commit e57702936e
6 changed files with 51 additions and 126 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ extern const char* vertex_shader_kernel_source;
void init_kernels();
void mat4_mul(float* A, float* B, float* C);
void vertex_shader(Matrix* ViewPort, Matrix* Projection, Matrix* ModelView, Matrix* ModelTransform, float* vertices, int vertex_count, float* new_vertices);
void vertex_shader(float* z, float* vertices, int vertex_count, float* new_vertices);
void destroy_kernels();