forked from harrisonpartch/spasim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathN2qeD84Fv78X2XEj8PtUZOx.Mod
50 lines (42 loc) · 1.07 KB
/
N2qeD84Fv78X2XEj8PtUZOx.Mod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
MODULE N2qeD84Fv78X2XEj8PtUZOx;(*anonymous module created by saboteur*)
IMPORT Base, FRep;
TYPE Ray = Base.Ray;
Voxel = Base.Voxel;
PT =Base.PT;
VAR
ball: FRep.sphere;
cyl: FRep.cyl;
v: Voxel;
conglomerate,sc,star: Voxel;
center,q,qq: PT;
p:ARRAY 7 OF PT;
i,j,k:INTEGER;
PROCEDURE thisvox*():Base.Voxel;
BEGIN
RETURN star
END thisvox;
BEGIN
v:=Base.VoxelFromName("NnTJ6nDktAth4WTAUdr8HYQ");
conglomerate:=Base.VoxelFromName("NM3");
sc:=Base.VoxelFromName("NM3");
star:=Base.VoxelFromName("NM3");
conglomerate.imposter:=sc;
conglomerate.setcolor(0,0,0,100,0);
Base.setPT(center,1/2,1/2,1/2);
Base.setPT(q,1/2,1/2,0);
Base.setPT(qq,1/2,1/2,1);
NEW(ball,center,2/3);
ball.setcolor(1,1,1);
conglomerate.FRaster(ball,9);
NEW(star);
star.setcolor(0,0,0,100,0);
ball.setcolor(1,0,1);
star.FRaster(ball,9);
NEW(ball,center,1/2);
ball.setvoxel(conglomerate);
star.FRaster(ball,9);
star.imposter:=conglomerate;
star.copyonstroke:=TRUE;
conglomerate.copyonstroke:=TRUE;
END N2qeD84Fv78X2XEj8PtUZOx.
XNXLMarsh.Rez N2qeD84Fv78X2XEj8PtUZOx ~