X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fclipplane.h;h=a2b5625521f1f48463e22c9f06d7f5f5572782f5;hp=f9dca0de5b6257d641a3bb63a5a86d45fe459e26;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=a275d25eccad43716c5dcf91f8bc4af2a53c0445 diff --git a/source/core/clipplane.h b/source/core/clipplane.h index f9dca0de..a2b56255 100644 --- a/source/core/clipplane.h +++ b/source/core/clipplane.h @@ -1,22 +1,21 @@ -#ifndef MSP_GL_CLIP_H_ -#define MSP_GL_CLIP_H_ +#ifndef MSP_GL_CLIPPLANE_H_ +#define MSP_GL_CLIPPLANE_H_ #include "vector.h" 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 &);