| 100 | } |
| 101 | |
| 102 | static int MaximumExtent(const float pMin[3], const float pMax[3]) { |
| 103 | const float diagX = pMax[0] - pMin[0]; |
| 104 | const float diagY = pMax[1] - pMin[1]; |
| 105 | const float diagZ = pMax[2] - pMin[2]; |
| 106 | if (diagX > diagY && diagX > diagZ) |
| 107 | return 0; |
| 108 | else if (diagY > diagZ) |
| 109 | return 1; |
| 110 | else |
| 111 | return 2; |
| 112 | } |
| 113 | void LuxCoreApp::UpdateMoveStep() { |
| 114 | float pMin[3], pMax[3]; |
| 115 | config->GetScene().GetBBox(pMin, pMax); |