function drawLine3d (client-side)
Available since version: 0.3.0
This function will draw 3d line on the screen using world coordinates.
Declaration
void drawLine3d(float x1, float y1, float z1, float x2, float y2, float z2, int r, int g, int b, bool useDepth = true)
Parameters
floatx1: the position on X axis of the begin point.floaty1: the position on Y axis of the begin point.floatz1: the position on Z axis of the begin point.floatx2: the position on X axis of the end point.floaty2: the position on Y axis of the end point.floatz2: the position on Z axis of the end point.intr: the red color component in RGB model.intg: the green color component in RGB model.intb: the blue color component in RGB model.booluseDepth: the flag which indicates if line should be rendered using depth buffer.