commit for rabbit
This commit is contained in:
14
contexte.inc
14
contexte.inc
@@ -217,11 +217,25 @@ blob {
|
||||
*/
|
||||
#declare UnderHoles = array[6]
|
||||
|
||||
#ifdef (DEBUG_LEVEL)
|
||||
#debug "Underholes : DEBUG_LEVEL activated\n"
|
||||
#fopen Trid "WS/underholes.log" write
|
||||
#end // if debulevel
|
||||
|
||||
#for (Idx, 0, 5)
|
||||
#local Angle = (Idx + 0.19) * 1.09; // magic numbers ?
|
||||
#local Px = sin(Angle) * (SzSol * 0.98);
|
||||
#local Pz = cos(Angle) * (SzSol * 1.02);
|
||||
|
||||
#ifdef (DEBUG_LEVEL)
|
||||
#write (Trid, "Def ", Idx, " ", NormClock, " ", Px, " ", Pz, "\n")
|
||||
#end
|
||||
// put the coords in the array.
|
||||
#declare UnderHoles[Idx] = <Px, 0, Pz>;
|
||||
#end // for loop
|
||||
|
||||
#ifdef (DEBUG_LEVEL)
|
||||
#fclose Trid
|
||||
#end
|
||||
|
||||
#declare Underground = object
|
||||
|
||||
Reference in New Issue
Block a user