24#ifndef GRAPHICS_PRIMITIVES_GLINE_H_
25#define GRAPHICS_PRIMITIVES_GLINE_H_
33 gLine(
float x1,
float y1,
float x2,
float y2,
float rotateAngle = 0.0f,
float pivotx = 0.5f,
float pivoty = 0.5f);
34 gLine(
float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float rotateAngle = 0.0f,
float pivotx = 0.5f,
float pivoty = 0.5f);
36 void setPoints(
float x1,
float y1,
float x2,
float y2,
float rotateAngle = 0.0f,
float pivotx = 0.5f,
float pivoty = 0.5f);
37 void setPoints(
float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float rotateAngle,
float pivotx,
float pivoty);
40 void draw(
float x1,
float y1,
float x2,
float y2,
float rotateAngle = 0.0f,
float pivotx = 0.5f,
float pivoty = 0.5f);
41 void draw(
float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float rotateAngle,
float pivotx,
float pivoty);
46 std::vector<gVertex> verticessb;
47 std::vector<gIndex> indicessb;
48 void setLinePoints(
float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float rotateAngle = 0.0f,
float pivotx = 0.5f,
float pivoty = 0.5f);
gLine(float x1, float y1, float z1, float x2, float y2, float z2, float rotateAngle=0.0f, float pivotx=0.5f, float pivoty=0.5f)
void setPoints(float x1, float y1, float z1, float x2, float y2, float z2, float rotateAngle, float pivotx, float pivoty)
void draw(float x1, float y1, float z1, float x2, float y2, float z2, float rotateAngle, float pivotx, float pivoty)
gLine(float x1, float y1, float x2, float y2, float rotateAngle=0.0f, float pivotx=0.5f, float pivoty=0.5f)
void setThickness(float thickness)
void setPoints(float x1, float y1, float x2, float y2, float rotateAngle=0.0f, float pivotx=0.5f, float pivoty=0.5f)
void draw(float x1, float y1, float x2, float y2, float rotateAngle=0.0f, float pivotx=0.5f, float pivoty=0.5f)