; dxTFormNormal example dxGraphics3D 640, 480 ; Just a quick demonstration of the 'normalization' feature. dxTFormNormal 1,2,2, 0,0 ; transform from world to world ; The transformation from world to world does nothing. ; But afterward the vector (1,2,2) is divided by the length 3. message$ = "The normalized vector is ( " message = message + dxTFormedX() + ", " + dxTFormedY() + ", " + dxTFormedZ() + " )" dxText 70, 180, message dxFlip dxWaitKey() End