Fixed warning & error

This commit is contained in:
Robert Osfield 2008-12-19 12:58:50 +00:00
parent 4324e9a915
commit 8951acabb7
2 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ public:
SPOKES = 0x00000002, ///< Draw the spokes from the sphere's centre to the surface's corners
EDGELINE = 0x00000008, ///< Draw the line round the edge of the area on the sphere's surface
SIDES = 0x00000010, ///< Draw the planes from the sphere's centre to the edge of the sphere's surface
ALL = 0xffffffff ///< Draw every part of the sphere segment
ALL = 0x7fffffff ///< Draw every part of the sphere segment
};

View File

@ -165,7 +165,7 @@ public:
}
void setDimensions(const Quad& q, point_type z = -1.0f) {
setDimensions(q[0], q[1], q[2], q[4], z);
setDimensions(q[0], q[1], q[2], q[3], z);
}
void setX(point_type x) {