Heya, I was wondering if the options parameter could default to an empty object for CreateBox and the other Create functions?
Currently for example, calling CreateBox without any parameters throws an error because CreateBox attempts to access properties of the undefined options parameter.
But after defaulting the options parameter to {} like below, then the box mesh is created without error with default options.
export function CreateBox(name: string, options: { size?: number, width?: number, height?: number, depth?: number, faceUV?: Vector4[], faceColors?: Color4[], sideOrientation?: number, frontUVs?: Vector4, backUVs?: Vector4, wrap?: boolean, topBaseAt?: number, bottomBaseAt?: number, updatable?: boolean } = {}, scene: Nullable<Scene> = null): Mesh {
If sounds good, Iām happy to make a PR for the Create functions.