LUADOC - Farming Simulator 17

Printable Version

drawDebugLine

Description
Render a line. Only use for debug rendering
Definition
drawDebugLine(float x0, float y0, float z0, float r0, float g0, float b0, float x1, float y1, float z1, float r1, float g1, float b1)
Arguments
floatx0start x position
floaty0start y position
floatz0start z position
floatr0start red color component [0, 1]
floatg0start green color component [0, 1]
floatb0start blue color component [0, 1]
floatx1end x position
floaty1end y position
floatz1end z position
floatr1end red color component [0, 1]
floatg1end green color component [0, 1]
floatb1end blue color component [0, 1]