Joshy
Code: Select all
type real as single
type v3
as real x,y,z
end type
type v2
as real u,v
end type
type VERTEX
as V3 p
as V3 n
as V2 t
end type
dim as VERTEX v0,v1,v2
v0=type<VERTEX>( 0,1,0, 0,0,-1, 0,0) ' ok
v1=type<VERTEX>( -.5,0,0, 0,0,-1, 0,1) ' error
v2=type<VERTEX>((-.5,0,0),(0,0,-1), (0,1)) ' ok
sleep