File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Sources/GateEngine/ECS/3D Specific/Physics Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,15 @@ extension OctreeComponent {
1414 @_disfavoredOverload
1515 public func load(
1616 path: GeoemetryPath ,
17- options: GeometryImporterOptions = . none,
17+ options: CollisionMeshImporterOptions = . none,
1818 center: Position3
1919 ) async throws {
2020 try await self . load ( path: path. value, options: options, center: center)
2121 }
22- public func load( path: String , options: GeometryImporterOptions = . none, center: Position3 )
23- async throws
24- {
22+ public func load( path: String , options: CollisionMeshImporterOptions = . none, center: Position3 ) async throws {
2523 self . load (
2624 withCenter: center,
27- triangles: try await RawGeometry ( path: path) . generateCollisionTriangles ( )
25+ triangles: try await RawCollisionMesh ( path: path, options : options ) . generateCollisionTriangles ( )
2826 )
2927 }
3028}
You can’t perform that action at this time.
0 commit comments