LUADOC - Farming Simulator 17

Printable Version

drawDebugArrow

Description
Render an arrow. Only use for debug rendering
Definition
drawDebugArrow(float x, float y, float z, float dirX, float dirY, float dirZ, float tangX, float tangY, float tangZ, float r, float g, float b)
Arguments
floatxx position
floatyy position
floatzz position
floatdirXdirection x coordinate
floatdirYdirection y coordinate
floatdirZdirection z coordinate
floattangXtangential x direction
floattangYtangential y direction
floattangZtangential z direction
floatrred color component [0, 1]
floatggreen color component [0, 1]
floatbblue color component [0, 1]