Changeset 54 for trunk/orca/math3d.c

Show
Ignore:
Timestamp:
02/17/06 15:30:01 (3 years ago)
Author:
krobillard
Message:

Now using orDecimal() & orInt() where appropriate.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/math3d.c

    r42 r54  
    288288        if( it->type == OT_INTEGER ) 
    289289        { 
    290             *vec++ = (float) it->integer; 
     290            *vec++ = (float) orInt(it); 
    291291            VEND; 
    292292        } 
    293293        else if( it->type == OT_DECIMAL ) 
    294294        { 
    295             *vec++ = (float) it->num.decimal; 
     295            *vec++ = (float) orDecimal(it); 
    296296            VEND; 
    297297        } 
     
    325325 
    326326    orSetTF( a1, OT_DECIMAL ); 
    327     a1->num.decimal = (double) orDot(a, b); 
     327    orDecimal(a1) = (double) orDot(a, b); 
    328328} 
    329329