File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
modules/mono/glue/GodotSharp/GodotSharp/Core Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,11 @@ struct [[nodiscard]] Basis {
4141 Vector3 (0 , 0 , 1 )
4242 };
4343
44- _FORCE_INLINE_ const Vector3 &operator [](int p_axis ) const {
45- return rows[p_axis ];
44+ _FORCE_INLINE_ const Vector3 &operator [](int p_row ) const {
45+ return rows[p_row ];
4646 }
47- _FORCE_INLINE_ Vector3 &operator [](int p_axis ) {
48- return rows[p_axis ];
47+ _FORCE_INLINE_ Vector3 &operator [](int p_row ) {
48+ return rows[p_row ];
4949 }
5050
5151 void invert ();
Original file line number Diff line number Diff line change @@ -468,8 +468,8 @@ public Transform3D(Projection projection)
468468 {
469469 for ( int j = 0 ; j < 3 ; j ++ )
470470 {
471- real_t e = transform . Basis [ i ] [ j ] * min [ j ] ;
472- real_t f = transform . Basis [ i ] [ j ] * max [ j ] ;
471+ real_t e = transform . Basis [ j ] [ i ] * min [ j ] ;
472+ real_t f = transform . Basis [ j ] [ i ] * max [ j ] ;
473473 if ( e < f )
474474 {
475475 tmin [ i ] += e ;
You can’t perform that action at this time.
0 commit comments