ConvexPolyhedron constructor

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

@param vertices An array of Vector3's @param faces Array of integer arrays, describing which vertices that is included in each face.

Implementation

ConvexPolyhedron({
  List<Vector3>?  vertices,
  List<List<int>>? faces,
  List<Vector3>? normals,
  List<Vector3>? axes,
  double? boundingSphereRadius,
  ShapeType type = ShapeType.convex
}):super(type: type){
  init(vertices,faces,normals,axes,boundingSphereRadius);
}