Skip to content

Commit 47baca5

Browse files
committed
Fix type_point constexpr constructor
1 parent a33d3d8 commit 47baca5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

nh3api/core/terrain.hpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -416,13 +416,10 @@ class type_point
416416

417417
public:
418418
signed x : 10; // +00, bytes 0..1
419-
private:
420-
signed gap_10bit : 6; // +10
421-
public:
419+
signed : 6; // +10
422420
signed y : 10; // +16
423421
signed z : 4; // +26
424-
private:
425-
signed gap_30bit : 2; // +30
422+
signed : 2; // +30
426423
} NH3API_MSVC_LAYOUT;
427424

428425
#pragma pack(push, 1)

0 commit comments

Comments
 (0)