Back to class index
| OBB::CornerPointSyntaxfloat4 OBB::CornerPoint(int cornerIndex) const; [16 lines of code]Returns a corner point of this OBB. This function generates one of the eight corner points of this OBB. ParametersintcornerIndexThe index of the corner point to generate, in the range [0, 7]. The points are returned in the order 0: , 1: +, 2: -+-, 3: -++, 4: +, 5: +-+, 6: ++-, 7: +++. (corresponding the XYZ axis directions). See AlsoWork in progress:Todo: in float4 OBB::CornerPoint(int cornerIndex) const: Draw a diagram that shows which index generates which edge. |