summaryrefslogtreecommitdiff
path: root/modules/csg/csg.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/csg/csg.h')
-rw-r--r--modules/csg/csg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/csg/csg.h b/modules/csg/csg.h
index 3fbed66e5c..37a11eea90 100644
--- a/modules/csg/csg.h
+++ b/modules/csg/csg.h
@@ -60,7 +60,7 @@ struct CSGBrush {
// Create a brush from faces.
void build_from_faces(const Vector<Vector3> &p_vertices, const Vector<Vector2> &p_uvs, const Vector<bool> &p_smooth, const Vector<Ref<Material>> &p_materials, const Vector<bool> &p_invert_faces);
- void copy_from(const CSGBrush &p_brush, const Transform &p_xform);
+ void copy_from(const CSGBrush &p_brush, const Transform3D &p_xform);
};
struct CSGBrushOperation {
@@ -165,8 +165,8 @@ struct CSGBrushOperation {
Vector<Vertex2D> vertices;
Vector<Face2D> faces;
Plane plane;
- Transform to_2D;
- Transform to_3D;
+ Transform3D to_2D;
+ Transform3D to_3D;
float vertex_snap2 = 0.0;
inline int _get_point_idx(const Vector2 &p_point);