AxisAlignedBox.ComputeVertices eror

Topics: User Forum
Oct 13, 2006 at 9:30 AM
Hi all

I have an error when I want to get the vertices with ComputeVertices, index out of range

Mycode

Dim v1 As New sharp3D.Math.Core.Vector3f(1,1,1)
Dim v2 As New sharp3D.Math.Core.Vector3f(3,3,3)
Dim V3() as sharp3D.Math.Core.Vector3F
Dim MyBox As New sharp3D.Math.Geometry3d.AxisAlignedBox(V1,V2)
V3 = MyBox.ComputeVertices

Thanks
Oct 13, 2006 at 10:25 AM
There was a little error in the computevertices function in the source code


Index of the vertices is 0 to 7
I leave the author correct this

Bye