Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.bounding_box.set(Some(self.component.map_or(
- SchemaAABB::new(
- Point::new(0.0, 0.0),
- Point::new(0.0, 0.0)
- ),
- |ref c| c.get_boundingbox().translated(Vector::new(
- self.position.x,
- self.position.y
- ))
- )));
Add Comment
Please, Sign In to add comment