fix a lot of-by-one errors

This commit is contained in:
Tonton Th committed 2026-11-23 08:14:21 +01:00
1 parent 97c155d6e1
commit d37389f082
4 files changed
+8 -8

No files matched your search

+3 -3
View File
@@ -94,7 +94,7 @@ merge {
#declare HexaCone_radar_A = object
{
union {
#for (foo, 0, 360, 60)
#for (foo, 0, 359, 60)
#local RR = 0.12;
#local PX = RR * sin(radians(foo));
#local PZ = RR * cos(radians(foo));
@@ -111,7 +111,7 @@ texture { Soft_Silver scale 6.50 }
#declare HexaCone_radar_B = object
{
union {
#for (foo, 0, 360, 60)
#for (foo, 0, 359, 60)
#local RR = 0.12;
#local PX = RR * sin(radians(foo));
#local PZ = RR * cos(radians(foo));
@@ -231,7 +231,7 @@ merge {
intersection {
torus { R2, Etuy/2 scale <1, 18, 1> }
box { <-1, 0, -1>, <1, 1, 1> }
rotate 90*z translate -dX*x
rotate 90*z translate -dX*x
}
torus { R2, Etuy/2 scale <1, 0.75, 1> rotate 90*z translate dX*x }