Skip to content

Update library for Godot 4#6

Open
fryingpanjoe wants to merge 4 commits intohiulit:masterfrom
fryingpanjoe:master
Open

Update library for Godot 4#6
fryingpanjoe wants to merge 4 commits intohiulit:masterfrom
fryingpanjoe:master

Conversation

@fryingpanjoe
Copy link

This PR updates the library to be compatible with Godot 4, which also fixes issue #5 .

In Godot 4 const arrays cannot be modified so the EDGE_STACK variable
should be var, not const.
This commit changes the types of various arrays from Pool* to Packed* to
be compatible with Godot 4.
In Godot 4 the slice method's end index parameter is now exclusive. This
commit updates the code to reflect that change.
This commit fixes a small type warning for Godot 4 by using the absf()
method instead of abs().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant