finally managed a solution.. this is plain messy and has put me off Blitz again.
Type Vec
Field x:Float
Field y:Float
Field z:Float
Field w:Float
End Type
Type DispPos
Field d:Vec[255]
Method New()
For Local i:Int = 0 Until d.length
d[i] = New Vec
Next
EndMethod
End Type
Type Spline
Field dispmap:DispPos[]
Field knot:Vec[]
Method New()
dispmap = New DispPos[255]
For Local i:Int = 0 Until dispmap.length
dispmap[i] = New DispPos
Next
knot = New Vec[255]
For Local j:Int = 0 Until knot.length
knot[j] = New Vec
Next
EndMethod
End Type
Global sp:Spline = New Spline
This is a very poor way to handle user typed arrays.
Type Vec
Field x:Float
Field y:Float
Field z:Float
Field w:Float
End Type
Type DispPos
Field d:Vec[255]
Method New()
For Local i:Int = 0 Until d.length
d[i] = New Vec
Next
EndMethod
End Type
Type Spline
Field dispmap:DispPos[]
Field knot:Vec[]
Method New()
dispmap = New DispPos[255]
For Local i:Int = 0 Until dispmap.length
dispmap[i] = New DispPos
Next
knot = New Vec[255]
For Local j:Int = 0 Until knot.length
knot[j] = New Vec
Next
EndMethod
End Type
Global sp:Spline = New Spline
This is a very poor way to handle user typed arrays.