CONST xmax
= 1200, ymax
= 600
IF section
(x
/ 8, y
/ 8) THEN cube2 x
- l
+ 25, 350 + y
+ l
, 16, &HFF88BBFF
SUB cube2
(x
, y
, side
, c~&
) sd2 = side / 2
LINE (x
+ sd2
, y
)-STEP(sd2
- 1, sd2
- 1), c~&
, BF
fquad x
+ sd2
, y
, x
+ sd2
, y
+ sd2
, x
, y
+ side
, x
, y
+ sd2
, _RGB32(.25 * r
, .5 * g
, .75 * b
) fquad x
, y
+ side
, x
+ sd2
, y
+ sd2
, x
+ side
, y
+ sd2
, x
+ sd2
, y
+ side
, _RGB32(.75 * r
, .3 * g
, .3 * b
)
'this text was fetched
'need 4 non linear points (not all on 1 line) list them clockwise so x2, y2 is opposite of x4, y4
ftri x1, y1, x2, y2, x4, y4, K
ftri x3, y3, x2, y2, x4, y4, K