24.11.2016, 17:37
Update v3.1.1:
- Rebuilding include structure.
- Added compiler options:
- Added Line3D Functions:
- Added definitions:
- Rebuilding include structure.
- Added compiler options:
PHP Code:
#define ENABLE_3D_TRYG_LINE3D //Use before 3DTryg.inc for enable Line3D Module
PHP Code:
Line3DCreate(variable,max_points);
GetLine3DValue(variable,pointid,name);
SetLine3DValue(variable,pointid,name,value);
bool:GetLine3DPointPos(Line3D:LineData[][LinePoint3D],pointid,&Float:x,&Float:y,&Float:z,max_points = sizeof(LineData));
bool:SetLine3DPointPos(Line3D:LineData[][LinePoint3D],pointid,Float:x,Float:y,Float:z,max_points = sizeof(LineData));
bool:GetLine3DPointRot(Line3D:LineData[][LinePoint3D],pointid,&Float:rx,&Float:ry,&Float:rz,max_points = sizeof(LineData));
bool:SetLine3DPointRot(Line3D:LineData[][LinePoint3D],pointid,Float:rx,Float:ry,Float:rz,max_points = sizeof(LineData));
CountLine3DPoints(Line3D:LineData[][LinePoint3D],max_points = sizeof(LineData));
AddPointToLine3D(Line3D:LineData[][LinePoint3D],Float:x,Float:y,Float:z,Float:rx=INVALID_ROTATION,Float:ry=INVALID_ROTATION,Float:rz=INVALID_ROTATION,max_points = sizeof(LineData));
PHP Code:
INVALID_LINE3D_POINT_ID