[−][src]Trait newton::collision::NewtonCollision
NewtonCollision functions.
Required methods
fn as_raw(&self) -> *const NewtonCollision
Provided methods
fn set_scale(&self, scale: Vec3)
fn scale(&self) -> Vec3
fn params(&self) -> Params
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int),
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool
fn is_convex(&self) -> bool
fn into_raw(self) -> *const NewtonCollision where
Self: Sized,
Self: Sized,
fn matrix(&self) -> Mat4
fn set_matrix(&self, matrix: Mat4)
fn set_user_id(&self, id: u32)
fn user_id(&self) -> u32
Implementors
impl<'a> NewtonCollision for Collision<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for Capsule<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for ChamferCylinder<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for Compound<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for Cone<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for ConvexHull<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for Cuboid<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for Cylinder<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for DeformableSolid<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for FracturedCompound<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for MassSpringDamperSystem<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for Null<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for Scene<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for Sphere<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for Tree<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a> NewtonCollision for UserMesh<'a>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,
fn matrix(&self) -> Mat4[src]
fn set_matrix(&self, matrix: Mat4)[src]
fn set_user_id(&self, id: u32)[src]
fn user_id(&self) -> u32[src]
impl<'a, T: Elevation> NewtonCollision for HeightField<'a, T>[src]
fn as_raw(&self) -> *const NewtonCollision[src]
fn set_scale(&self, scale: Vec3)[src]
fn scale(&self) -> Vec3[src]
fn params(&self) -> Params[src]
fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
F: FnMut(&[f32], c_int), [src]
F: FnMut(&[f32], c_int),
fn is_static(&self) -> bool[src]
fn is_convex(&self) -> bool[src]
fn into_raw(self) -> *const NewtonCollision where
Self: Sized, [src]
Self: Sized,