Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
blob: c012bf05e0f933d48d996dc5a19fd5373e714d30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
   model/quad.cc
   This file is part of the Osirion project and is distributed under
   the terms of the GNU General Public License version 2
*/

#include "model/quad.h"

namespace model
{

Quad::Quad(const math::Vector3f &v0,const  math::Vector3f &v1, const math::Vector3f &v2, const math::Vector3f &v3, const math::Vector3f &normal, const bool detail) :
		quad_v0(v0),
		quad_n0(normal),
		quad_v1(v1),
		quad_n1(normal),
		quad_v2(v2),
		quad_n2(normal),
		quad_v3(v3),
		quad_n3(normal),
		quad_normal(normal)
{
	quad_detail = detail;
}

Quad::~Quad()
{}

}