TorqueScript Reference
|
Functions | |
String | getBoxCenter (box) |
String getBoxCenter | ( | box | ) |
Use the getBoxCenter function to find the centroid of a cube (box).
box | A vector containing two three-element floating-point position vectors: "X1 Y1 Z1 X2 Y2 Z2". |