feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -77,7 +77,7 @@ void CircleShape2D::draw(const RID &p_to_rid, const Color &p_color) {
|
|||
Vector<Vector2> points;
|
||||
points.resize(24);
|
||||
|
||||
const real_t turn_step = Math_TAU / 24.0;
|
||||
const real_t turn_step = Math::TAU / 24.0;
|
||||
for (int i = 0; i < 24; i++) {
|
||||
points.write[i] = Vector2(Math::cos(i * turn_step), Math::sin(i * turn_step)) * get_radius();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue