Back to class index
| OBB::DiagonalSyntaxfloat4 OBB::Diagonal() const; [4 lines of code]Returns a diagonal vector of this OBB. This vector runs from one corner of the OBB from the opposite corner. Note A box has four diagonals. This function returns the direction vector from the -X-Y-Z corner to the +X+Y+Z corner of the OBB, in the global space of this OBB. Syntaxfloat4 OBB::HalfDiagonal() const; [4 lines of code]Returns Diagonal()/2. Return ValueA direction vector from the center of this OBB to the +X+Y+Z corner of this OBB, in global space. See Also |