Use struct instead of class for core structures

This commit is contained in:
Aaron Franke
2022-10-05 01:03:52 -05:00
parent 4e5d0ee3a8
commit 0455f72ede
19 changed files with 79 additions and 152 deletions

View File

@@ -36,17 +36,12 @@
namespace godot {
class Basis;
class String;
class Vector2;
class Vector3i;
struct Basis;
struct Vector2;
struct Vector3i;
class Vector3 {
_FORCE_INLINE_ GDNativeTypePtr _native_ptr() const { return (void *)this; }
friend class Variant;
public:
struct _NO_DISCARD_ Vector3 {
static const int AXIS_COUNT = 3;
enum Axis {