ConvexPolyhedron constructor

ConvexPolyhedron({
  1. List<Vec3>? vertices,
  2. List<List<int>>? faces,
  3. List<Vec3>? normals,
  4. List<Vec3>? axes,
  5. double? boundingSphereRadius,
  6. ShapeType type = ShapeType.convex,
})

@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);
}