#include <msp/strings/format.h>
#include "clipplane.h"
-#include "gl.h"
-#include "matrix.h"
-#include "misc.h"
#include "programdata.h"
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)