mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:17:44 +00:00
LibSoftGPU: Add const to Clipper where possible
This commit is contained in:
parent
0da3a2ddde
commit
3143c4b1df
2 changed files with 11 additions and 11 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue