This is LorenzViewPart.h in view mode; [Download] [Up]
//This code is the work of Booker C. Bense (benseb@next.sdsc.edu) // You are free to change/distribute this code provided this notice // remains intact in all versions. #import "BackView.h" #define NUMPOINTS 10000 #define PI 3.1415926 #define R 28.0 #define S 10.0 #define B 2.666666666 #define delta_T (0.01 * (25.0 / R ) ) #define Xmin -25.0 #define Ymin -30.0 #define Zmin 0.0 #define Yrange 60.0 #define Xrange 50.0 #define Zrange 60.0 #define CHASERS 10 #define RED 0 #define GREEN 1 #define BLUE 2 //@interface LorenzView:BackView @interface LorenzView:View { int p,n; int points[CHASERS]; double X,Y,Z; float theta,phi; float urx,ury, midx, midy,cos_arg; float xc[NUMPOINTS],yc[NUMPOINTS]; double xdot,ydot,zdot; int up,i,red_shift,blue_shift; float cl_clut[CHASERS],twobit_clut[CHASERS]; float *clut; int winNum; } - oneStep; - newSize; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.