POV-Ray : Newsgroups : povray.binaries.images : LegoRoad macro v2.5.0 : Re: LegoRoad macro v2.5.0 Server Time
1 Aug 2024 04:13:37 EDT (-0400)
  Re: LegoRoad macro v2.5.0  
From: alphaQuad
Date: 21 Dec 2008 18:45:00
Message: <web.494ed43f83e8951df798649f0@news.povray.org>
divide by zero warnings?


I've never *been able* to divide by zero and have it still work like you can.
Truly amazing.
#declare LRoad_RoadWidth =  array[3] {280,306,360,}
#declare LRoad_StripeInterval =  array[3] { 64, 64, 64,}
#declare LRoad_CornerRadius =  array[3] { 23, 36, 63,}
#declare LRoad_MajorArc =  array[3] { 52,  0, 10,}
#declare LRoad_WalkDistance =  array[3] { 75, 75, 75,}
#declare LRoad_WalkWidth =  array[3] {234,234,234,}
#declare LRoad_WalkLength =  array[3] { 60, 60, 60,}
#declare LRoad_WalkStripeWidth = array[3] { 25, 25, 25,}
#declare LRoad_DistanceUnit =   10;
#declare LRoad_RoadColor =  color rgb <0.682353,0.682353,0.682353>;
#declare LRoad_EdgeColor =  color rgb <0.117647,0.627451,0.227451>;
#declare LRoad_StrpColor =  color rgb 1;
#include "LegoRoad_macro.inc"

#declare roads = array[2] { < -50000,0,0 >,< 50000,0,0 > }
object { LRoad_Intersection_Macro(roads,1,0) scale < .4,1,.5 > translate
<32,0,-126> }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.