示例#1
0
 public PlaneShape(PlaneShapeDescriptor descriptor)
 {
     WrappedPlaneShape = new global::DigitalRune.Geometry.Shapes.PlaneShape(descriptor.Normal.ToDigitalRune(),
                                         descriptor.DistanceFromOrigin);
     UserData = descriptor.UserData;
 }
示例#2
0
 public PlaneShape(PlaneShapeDescriptor descriptor)
 {
     WrappedPlaneShape = new global::DigitalRune.Geometry.Shapes.PlaneShape(descriptor.Normal.ToDigitalRune(),
                                                                            descriptor.DistanceFromOrigin);
     UserData = descriptor.UserData;
 }