| 56 | // check if two shapes are in collision state |
| 57 | |
| 58 | Ref<Object> DrawDiagLine(Vector3Par from, Vector3Par to, PackedColor color) |
| 59 | { |
| 60 | Ref<LODShapeWithShadow> shape = ObjectLine::CreateShape(); |
| 61 | Ref<Object> lineObj = new ObjectLineDiag(shape); |
| 62 | lineObj->SetConstantColor(color); |
| 63 | |
| 64 | lineObj->SetPosition(from); |
| 65 | ObjectLine::SetPos(shape, VZero, to - from); |
| 66 | return lineObj; |
| 67 | } |
| 68 | |
| 69 | static void DiagBBox(const Vector3* minMax, const Frame& pos, PackedColor color) |
| 70 | { |
no test coverage detected