X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fclipplane.h;h=a2b5625521f1f48463e22c9f06d7f5f5572782f5;hp=2cf9b18bcde6b14d8975fa252222fe91ca4b8c39;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=3bc34893905a2df622894aadcb6669f27f186772 diff --git a/source/core/clipplane.h b/source/core/clipplane.h index 2cf9b18b..a2b56255 100644 --- a/source/core/clipplane.h +++ b/source/core/clipplane.h @@ -11,11 +11,11 @@ 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 &);