Else ; behind camera f# = Zoom * grHalfWidth ScreenX = (-x*f)/z + grHalfWidth ScreenY = grHeight - ((-y*f)/z + grHalfHeight) End If
or, equally...
Else ; behind camera f# = -Zoom * grHalfWidth ScreenX = (x*f)/z + grHalfWidth ScreenY = grHeight - ((y*f)/z + grHalfHeight) End If
Perhaps? Is this what you want?