]> git.tdb.fi Git - libs/gl.git/blobdiff - source/builders/grid.h
Use constructor delegation instead of init functions when possible
[libs/gl.git] / source / builders / grid.h
index ed22ce7d6c939fdf71b7e4d1a35a065807bb9ae5..a66051277f02e32e967e4338338408a2c0ea120c 100644 (file)
@@ -23,7 +23,7 @@ public:
        GridBuilder(const Vector3 &, const Vector3 &, unsigned = 4, unsigned = 4);
        GridBuilder(const Vector3 &, const Vector3 &, const Vector3 &, unsigned = 4, unsigned = 4);
 private:
-       void init(bool);
+       Vector3 get_side(const Vector3 &, unsigned);
 
 public:
        using GeometryBuilder::build;