Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/primitives.cc')
-rw-r--r--src/model/primitives.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/model/primitives.cc b/src/model/primitives.cc
index a53ebcd..5e58b50 100644
--- a/src/model/primitives.cc
+++ b/src/model/primitives.cc
@@ -28,16 +28,16 @@ Primitives::~Primitives()
}
void Primitives::add_triangle(math::Vector3f const &v0, math::Vector3f const &v1, math::Vector3f const &v2,
- math::Vector3f const &normal, math::Color const &color, bool detail)
+ math::Vector3f const &normal, bool detail)
{
- Triangle *triangle = new Triangle(v0, v1, v2, normal, color, detail);
+ Triangle *triangle = new Triangle(v0, v1, v2, normal, detail);
primitives_triangles.push_back(triangle);
}
void Primitives::add_quad(math::Vector3f const &v0, math::Vector3f const &v1, math::Vector3f const &v2, math::Vector3f const &v3,
- math::Vector3f const &normal, math::Color const &color, bool detail)
+ math::Vector3f const &normal, bool detail)
{
- Quad *quad = new Quad(v0, v1, v2, v3, normal, color, detail);
+ Quad *quad = new Quad(v0, v1, v2, v3, normal, detail);
primitives_quads.push_back(quad);
}