|
|
Hi Tracers,
I have already posted this to povray.bugreports but thought
I'd post it here also.
I think I have found a bug with str() on a Mac 68k.
I have a macro which prints out a vector:
//---------------------------------------------------------------
// Macro PrintVector(V)
//---------------------------------------------------------------
#macro PrintVector(V)
concat("<",str(V.x,4,4),",",str(V.y,4,4),",",str(V.z,4,4),">")
#end
This macro works fine on a PowerPC but not on 68k.
For example:
#local mPosition = <1.0, 5.0, 0.0>;
#debug concat("mPosition is: ", PrintVector(mPosition),"\n")
prints out:
mPosition: <-1.9375,2.1250,0.0000>
mPosition.x (which is 1.0) prints out as 1.9375 and
mPosition.y (which is 5.0) prints out as 2.1250
I can't get access to the 68k source right now, so I
don't know what's going on.
I'm using the last official compile for Mac 68k Version 3.1g r2 for FPU's.
My hardware is a Performa 600 with a 50 MHz MicroMac Diimo accelerator PDS
card.
Although the card patches Apple's SANE routines, the bug persists even when
I uncheck the SANE options in the Diimo Control Panel. Can anyone reproduce
this
bug on a 68k mac?
Any ideas anyone? TIA
--Nick
email: nic### [at] aolcom
Post a reply to this message
|
|