diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-16 17:34:00 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-16 17:34:00 +0000 |
commit | d763e294f44eb38b94bf7e2055b77a982b72b7c0 (patch) | |
tree | 37f91c6b7fee58fcecfbfc54dda3f71eb8617b9f /src/model/fragment.cc | |
parent | 95cc140404c6524ea16e193e1421e826b239114f (diff) |
more constness
Diffstat (limited to 'src/model/fragment.cc')
-rw-r--r-- | src/model/fragment.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/fragment.cc b/src/model/fragment.cc index 8c3481c..ab0f9fa 100644 --- a/src/model/fragment.cc +++ b/src/model/fragment.cc @@ -48,7 +48,7 @@ size_t Fragment::add_vertex(math::Vector3f const & vertex, math::Vector3f const size_t Fragment::add_vertex(math::Vector3f const & vertex, math::Vector3f const &normal, math::Vector2f const &texcoord, bool detail) { - size_t n = VertexArray::instance()->add_vertex(vertex, normal, texcoord.x, texcoord.y); + size_t n = VertexArray::instance()->add_vertex(vertex, normal, texcoord.x(), texcoord.y()); if (n) { if (detail) fragment_detail_size += n; |