#include #include #include "system.h" # include "stdio.h" # include "defines.h" # include "object.h" # include "path.h" #ifndef Plan9 #include "njerq.h" #endif # include "graphics.h" void matrixOP(void) { push(makematrix(makearray(CTM_SIZE,XA_LITERAL),1.0,0.0,0.0,1.0,0.0,0.0)) ; } void identmatrixOP(void) { push(makematrix(pop(),1.0,0.0,0.0,1.0,0.0,0.0)) ; } void currentmatrixOP(void) { push(makematrix(pop(),G[0],G[1],G[2],G[3],G[4],G[5])) ; } void setmatrixOP(void) { int i ; struct object matrix; matrix = realmatrix(pop()) ; for ( i=0 ; i