base: cleanup
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user