public DigitalRuneConvexPolyhedronShape(ConvexPolyhedronShapeDescriptor descriptor)
 {
     UserData = descriptor.UserData;
 }
예제 #2
0
 public static IConvexPolyhedronShape CreateConvexPolyhedron(this IFactory<IShape> factory,
                                      ConvexPolyhedronShapeDescriptor descriptor)
 {
     return factory.Create<IConvexPolyhedronShape, ConvexPolyhedronShapeDescriptor>(descriptor);
 }
 public DefaultConvexPolyhedronShape(ConvexPolyhedronShapeDescriptor descriptor)
 {
     Descriptor = descriptor;
 }