base: cleanup

This commit is contained in:
luboslenco
2026-03-16 10:10:17 +01:00
parent 000bce241a
commit c5821e2ab2
33 changed files with 1279 additions and 1497 deletions
+2 -2
View File
@@ -458,9 +458,9 @@ void render_path_paint_draw_cursor(f32 mx, f32 my, f32 radius, f32 tint_r, f32 t
vec4_t right = vec4_norm(camera_object_right_world(scene_camera));
gpu_set_float3(pipes_cursor_camera_right, right.x, right.y, right.z);
gpu_set_float3(pipes_cursor_tint, tint_r, tint_g, tint_b);
gpu_set_matrix4(pipes_cursor_vp, scene_camera->vp);
gpu_set_mat4(pipes_cursor_vp, scene_camera->vp);
mat4_t inv_vp = mat4_inv(scene_camera->vp);
gpu_set_matrix4(pipes_cursor_inv_vp, inv_vp);
gpu_set_mat4(pipes_cursor_inv_vp, inv_vp);
gpu_set_vertex_buffer(geom->_->vertex_buffer);
gpu_set_index_buffer(geom->_->index_buffer);
gpu_draw();