Skip to content

Commit

Permalink
godot-core: builtin: reimplement Rect2i to provide functionality on o…
Browse files Browse the repository at this point in the history
…uter type
  • Loading branch information
yannick-was-taken committed Apr 9, 2023
1 parent edd873b commit b209387
Show file tree
Hide file tree
Showing 4 changed files with 581 additions and 8 deletions.
1 change: 1 addition & 0 deletions godot-core/src/builtin/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ macro_rules! real {
/// The side of a [`Rect2`] or [`Rect2i`].
///
/// _Godot equivalent: `@GlobalScope.Side`_
#[derive(Copy, Clone)]
#[repr(C)]
pub enum RectSide {
Left = 0,
Expand Down
Loading

0 comments on commit b209387

Please sign in to comment.