Skip to content

Commit

Permalink
Fix return type for CreateGround (#12557)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlakeOne authored May 23, 2022
1 parent 93b9ef8 commit 82fe660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dev/core/src/Meshes/Builders/groundBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export function CreateGround(
name: string,
options: { width?: number; height?: number; subdivisions?: number; subdivisionsX?: number; subdivisionsY?: number; updatable?: boolean } = {},
scene?: Scene
): Mesh {
): GroundMesh {
const ground = new GroundMesh(name, scene);
ground._setReady(false);
ground._subdivisionsX = options.subdivisionsX || options.subdivisions || 1;
Expand Down

0 comments on commit 82fe660

Please sign in to comment.