ConvexPolyhedron constructor
ConvexPolyhedron({})
@param vertices An array of Vec3's @param faces Array of integer arrays, describing which vertices that is included in each face.
Implementation
ConvexPolyhedron({
List<Vec3>? vertices,
List<List<int>>? faces,
List<Vec3>? normals,
List<Vec3>? axes,
double? boundingSphereRadius,
ShapeType type = ShapeType.convex
}):super(type: type){
init(vertices,faces,normals,axes,boundingSphereRadius);
}