| 1575 | return 0; // no collision possible |
| 1576 | } |
| 1577 | Vector3Val min = shape->Min(); |
| 1578 | Vector3Val max = shape->Max(); |
| 1579 | return (max - min).SizeXZ() * 0.5; |
| 1580 | } |
| 1581 | |
| 1582 | PackedColor Object::GetConstantColor() const |
| 1583 | { |
| 1584 | static const PackedColor halfOpaqueWhite(Color(1, 1, 1, 0.5)); |
| 1585 | #if _ENABLE_CHEATS |
| 1586 | if (CHECK_DIAG(DETransparent)) |
| 1587 | return halfOpaqueWhite; |
| 1588 | #endif |
no test coverage detected