修复:窗户侧面法线错误(相反)

pull/1928/head
ChenX 2 years ago
parent 931824134e
commit 75a15a51e9

@ -240,8 +240,8 @@ export class RoomHolePolyline extends RoomHoleBase
let parse = CreateGetCurveParam(lid as Line) as GetLineParam; let parse = CreateGetCurveParam(lid as Line) as GetLineParam;
geo.faces.push( geo.faces.push(
new Face3(startIndex, startIndex + 2, startIndex + 1, parse.LeftDir), new Face3(startIndex, startIndex + 2, startIndex + 1, parse.RightDir),
new Face3(startIndex + 1, startIndex + 2, startIndex + 3, parse.LeftDir), new Face3(startIndex + 1, startIndex + 2, startIndex + 3, parse.RightDir),
); );
geo.faceVertexUvs[0].push( geo.faceVertexUvs[0].push(

Loading…
Cancel
Save