1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:57:35 +00:00

LibSoftGPU: Add const to Clipper where possible

This commit is contained in:
Lenny Maiorani 2022-01-23 12:39:32 -07:00 committed by Linus Groh
parent 0da3a2ddde
commit 3143c4b1df
2 changed files with 11 additions and 11 deletions

View file

@ -49,8 +49,8 @@ public:
void clip_triangle_against_frustum(Vector<Vertex>& input_vecs);
private:
bool point_within_clip_plane(FloatVector4 const& vertex, ClipPlane plane);
Vertex clip_intersection_point(Vertex const& vec, Vertex const& prev_vec, ClipPlane plane_index);
bool point_within_clip_plane(FloatVector4 const& vertex, ClipPlane plane) const;
Vertex clip_intersection_point(Vertex const& vec, Vertex const& prev_vec, ClipPlane plane_index) const;
Vector<Vertex> list_a;
Vector<Vertex> list_b;
};