a template function that either means the thing never built at all or that some incomprehensible C++ thing is going on, and I'm not sure which it is.
24 lines
845 B
Text
24 lines
845 B
Text
$NetBSD: patch-aq,v 1.1 2008/09/01 08:02:23 dholland Exp $
|
|
|
|
--- libri2rib/ascii.cpp~ 2002-03-01 13:58:59.000000000 -0500
|
|
+++ libri2rib/ascii.cpp 2008-09-01 03:45:14.000000000 -0400
|
|
@@ -246,7 +246,8 @@ RtVoid CqASCII::RiObjectEnd( RtVoid )
|
|
}
|
|
RtVoid CqASCII::RiObjectInstance( RtObjectHandle handle )
|
|
{
|
|
- out << "ObjectInstance " << ( RtInt ) handle << endl;
|
|
+ //out << "ObjectInstance " << ( RtInt ) handle << endl;
|
|
+ out << "ObjectInstance " << ( intptr_t ) handle << endl;
|
|
}
|
|
RtVoid CqASCII::RiAttributeBegin( RtVoid )
|
|
{
|
|
@@ -461,7 +462,8 @@ RtLightHandle CqASCII::RiAreaLightSource
|
|
RtVoid CqASCII::RiIlluminate( RtLightHandle light, RtBoolean onoff )
|
|
{
|
|
out << "Illuminate ";
|
|
- out << ( RtInt ) light << " ";
|
|
+ //out << ( RtInt ) light << " ";
|
|
+ out << ( intptr_t ) light << " ";
|
|
if ( onoff == RI_TRUE )
|
|
out << "1" << endl;
|
|
else
|