pub trait Geometry {
// Required method
fn handle(&self) -> &RTCGeometry;
}
Expand description
A trait implemented by all geometry types. If you want to implement your own geometry type, you must implement this trait.
Make sure to release the geometry handle when the geometry is dropped. See rtcReleaseGeometry.
Required Methods§
Sourcefn handle(&self) -> &RTCGeometry
fn handle(&self) -> &RTCGeometry
Returns the handle of the geometry.