X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fclipplane.cpp;h=256f2beaaccafdf0ab83d4e72bee95cb330608c1;hp=fe784d256dbe5dfdf3c754fc3add92c458f96fd1;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=3bc34893905a2df622894aadcb6669f27f186772 diff --git a/source/core/clipplane.cpp b/source/core/clipplane.cpp index fe784d25..256f2bea 100644 --- a/source/core/clipplane.cpp +++ b/source/core/clipplane.cpp @@ -5,19 +5,12 @@ namespace Msp { namespace GL { -ClipPlane::ClipPlane(): - eq(0, 0, 0, 1), - generation(0) -{ } - ClipPlane::ClipPlane(const Vector4 &e): - eq(e), - generation(0) + eq(e) { } ClipPlane::ClipPlane(const Vector3 &p, const Vector3 &d): - eq(compose(d, -dot(p, d))), - generation(0) + eq(compose(d, -dot(p, d))) { } void ClipPlane::set_equation(const Vector4 &e)