INNER CODE UNIT · C

Off_Ptr

ForsakenX/forsaken · 2dpolys.c:1780

						Off_Ptr = ( (*FmPolys[ i ].Frm_Info)->Off_Info + Bit_Ptr->startbit );

						for( BitCount = 0; BitCount < Bit_Ptr->numbits; BitCount++ )
						{
							int ntris = 0;

							Box_Ptr = ( (*FmPolys[ i ].Frm_Info)->Box_Info + ( Off_Ptr->box & 0x0fff ) );

							Xoff.x = ( ( Off_Ptr->xoff * FmPolys[ i ].xsize ) * XVector.x );
							Xoff.y = ( ( Off_Ptr->xoff * FmPolys[ i ].xsize ) * XVector.y );
							Xoff.z = ( ( Off_Ptr->xoff * FmPolys[ i ].xsize ) * XVector.z );
							Yoff.x = ( ( -Off_Ptr->yoff * FmPolys[ i ].ysize ) * YVector.x );
							Yoff.y = ( ( -Off_Ptr->yoff * FmPolys[ i ].ysize ) * YVector.y );
							Yoff.z = ( ( -Off_Ptr->yoff * FmPolys[ i ].ysize ) * YVector.z );

							switch( Off_Ptr->box & BOX_BOTHFLIP )
							{
								case BOX_NOFLIP:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…