Luna::VG::COMMAND_CIRCLE_Q1
constexpr f32 COMMAND_CIRCLE_Q1 = 4.0f
The command code that draws one circle part in the first quadrant.
This command takes 4 points: {COMMAND_CIRCLE_Q1, R, BEGIN, END}* R: The radius of the circle.
-
BEGIN: The beginning angle of the circle part in degrees. The value should be in [0, 90].
-
END: The ending angle of the circle part in degrees. The value should be in [0, 90].
Remark
90
y
^
|
Q2 | Q1
|
180 -------------------->x 0
|
Q3 | Q4
|
|
270
All circle drawing commands take three data points:
-
R: The radius of the circle.
-
BEGIN: The beginning angle of the circle in degrees.
-
END: The end angle of the circle in degrees. If the end angle is greater than the beginning angle, the circle is drawn counter-clockwisly, otherwise, the circle is drawn clockwisly.