Function createWallBufferGeometry
- createWallBufferGeometry(opts): {
center: [number, number, number];
geometry: BufferGeometry<NormalBufferAttributes>;
} Parameters
opts: {
axisUp?: "x" | "y" | "z";
height: number;
isClose?: boolean;
isUseCenter?: boolean;
points: [number, number][];
}
Optional
axisUp?: "x" | "y" | "z"
height: number
Optional
isClose?: boolean
Optional
isUseCenter?: boolean
points: [number, number][]
Returns {
center: [number, number, number];
geometry: BufferGeometry<NormalBufferAttributes>;
}
center: [number, number, number]
geometry: BufferGeometry<NormalBufferAttributes>
给定坐标和高度,创建一面墙的几何坐标