Can you spot what's wrong with this code? It draws the line fine on the X axis, but when I draw a line from 0,0,0, to 0,50,0...the line isn't straight up. It's angled towards the camera on the YZ axis.
Btw, my camera is rotated at 65,0,0 if that matters.
Btw, my camera is rotated at 65,0,0 if that matters.
Function Line3D(x0#,y0#,z0#,x1#,y1#,z1#,camera) CameraProject(camera,x0#,y0#,z0#) xp# = ProjectedX#() yp# = ProjectedY#() CameraProject(camera,x1#,y1#,z1#) Line xp#,yp#,ProjectedX#(),ProjectedY#() End Function