Translates the AABB by the given vector
(&mut self, vector: &SVector<R, D>)
| 223 | |
| 224 | /// Translates the AABB by the given vector |
| 225 | pub fn translate(&mut self, vector: &SVector<R, D>) { |
| 226 | self.min += vector; |
| 227 | self.max += vector; |
| 228 | } |
| 229 | |
| 230 | /// Translates the AABB to center it at the coordinate origin (moves the centroid to the coordinate origin) |
| 231 | pub fn center_at_origin(&mut self) { |
no outgoing calls
no test coverage detected