X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fclipplane.h;h=a2b5625521f1f48463e22c9f06d7f5f5572782f5;hb=271760e6099bf5f4ad90894697dab911c236a0a3;hp=9160e526cbb2e2d0bccdb25ac7fcb126d1c42c63;hpb=b466adff89db080c304ac3178ce1f4fef844cb28;p=libs%2Fgl.git diff --git a/source/core/clipplane.h b/source/core/clipplane.h index 9160e526..a2b56255 100644 --- a/source/core/clipplane.h +++ b/source/core/clipplane.h @@ -6,17 +6,16 @@ namespace Msp { namespace GL { -class Matrix; class ProgramData; class ClipPlane { private: - Vector4 eq; - unsigned generation; + Vector4 eq = { 0.0f, 0.0f, 0.0f, 1.0f }; + unsigned generation = 0; public: - ClipPlane(); + ClipPlane() = default; ClipPlane(const Vector4 &); ClipPlane(const Vector3 &, const Vector3 &);