Skip to content

Commit

Permalink
Fix build error for ignored qualifiers warning/error on GCC8 (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbogusz authored and wjwwood committed May 16, 2018
1 parent a62340f commit cff3fe6
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -206,9 +206,9 @@ bool TriangleListMarker::fillManualObjectAndDetermineAlpha(
std::vector<Ogre::Vector3> corners(3);
for (size_t c = 0; c < 3; c++) {
corners[c] = Ogre::Vector3(
static_cast<const Ogre::Real>(points[i + c].x),
static_cast<const Ogre::Real>(points[i + c].y),
static_cast<const Ogre::Real>(points[i + c].z));
static_cast<Ogre::Real>(points[i + c].x),
static_cast<Ogre::Real>(points[i + c].y),
static_cast<Ogre::Real>(points[i + c].z));
}
Ogre::Vector3 normal = (corners[1] - corners[0]).crossProduct(corners[2] - corners[0]);
normal.normalise();
Expand Down

0 comments on commit cff3fe6

Please sign in to comment.