rotate wallBackLeft

This commit is contained in:
Octopus Octopus 2022-07-03 14:44:41 -05:00
parent a5fde2a412
commit f9b46f6241
1 changed files with 2 additions and 1 deletions

View File

@ -70,6 +70,7 @@ func wallBackRight() sdf.SDF3 {
//TODO: ROTATE
func wallBackLeft() sdf.SDF3 {
corner := wallCorner()
corner = sdf.Transform2D(corner, sdf.Rotate2d(sdf.DtoR(180)))
corner = sdf.Transform2D(corner, sdf.Rotate2d(sdf.DtoR(270)))
corner = sdf.Transform2D(corner, sdf.MirrorY())
return sdf.Extrude3D(corner, WALLS_HEIGHT)
}