pub struct Point(pub Vec3);Tuple Fields§
§0: Vec3Implementations§
Source§impl Point
impl Point
Source§impl Point
impl Point
Sourcepub fn broadphase(&self) -> Sphere
pub fn broadphase(&self) -> Sphere
Sourcepub fn obb(&self) -> Cuboid
pub fn obb(&self) -> Cuboid
See Bounded::obb
Sourcepub fn aabb(&self) -> Cuboid
pub fn aabb(&self) -> Cuboid
See Bounded::aabb
Trait Implementations§
Source§impl<PCL: PointCloudMarker> ColliderComponent<PCL> for Point
impl<PCL: PointCloudMarker> ColliderComponent<PCL> for Point
fn add_to_shapes(self, c: &mut Collider<PCL>)
Source§impl ColliderQuery<NoPcl> for Point
impl ColliderQuery<NoPcl> for Point
Source§impl ColliderQuery<Pointcloud> for Point
impl ColliderQuery<Pointcloud> for Point
fn query_collider(&self, c: &Collider<Pointcloud>) -> bool
Source§impl Collides<ConvexPolygon> for Point
impl Collides<ConvexPolygon> for Point
Source§impl Collides<ConvexPolytope> for Point
impl Collides<ConvexPolytope> for Point
Source§impl Collides<LineSegment> for Point
impl Collides<LineSegment> for Point
Source§impl Collides<Point> for ConvexPolygon
impl Collides<Point> for ConvexPolygon
Source§impl Collides<Point> for ConvexPolytope
impl Collides<Point> for ConvexPolytope
Source§impl Collides<Point> for LineSegment
impl Collides<Point> for LineSegment
Source§impl Collides<Point> for Pointcloud
impl Collides<Point> for Pointcloud
Source§impl Collides<Pointcloud> for Point
impl Collides<Pointcloud> for Point
Source§impl Stretchable for Point
impl Stretchable for Point
Source§impl Transformable for Point
impl Transformable for Point
fn translate(&mut self, offset: Vec3A)
fn rotate_mat(&mut self, mat: Mat3A)
fn rotate_quat(&mut self, quat: Quat)
fn transform(&mut self, mat: Affine3A)
fn translated(&self, offset: Vec3A) -> Self
fn translate_d(&mut self, offset: DVec3)
fn translated_d(&self, offset: DVec3) -> Self
fn rotated_mat(&self, mat: Mat3A) -> Self
fn rotate_mat_d(&mut self, mat: DMat3)
fn rotated_mat_d(&self, mat: DMat3) -> Self
fn rotated_quat(&self, quat: Quat) -> Self
fn rotate_quat_d(&mut self, quat: DQuat)
fn rotated_quat_d(&self, quat: DQuat) -> Self
fn transformed(&self, mat: Affine3A) -> Self
fn transform_d(&mut self, mat: DAffine3)
fn transformed_d(&self, mat: DAffine3) -> Self
impl Copy for Point
impl StructuralPartialEq for Point
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnsafeUnpin for Point
impl UnwindSafe for Point
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more