mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
Fix formatting & cmake
This commit is contained in:
parent
ca89909c00
commit
1ac3a474da
4 changed files with 8 additions and 5 deletions
|
@ -28,7 +28,8 @@ struct PicaVertex {
|
|||
};
|
||||
PicaVertex() {}
|
||||
};
|
||||
//Float is used here instead of Floats::f24 to ensure that Floats::f24 is properly sized for direct interpretations as a float by the render backend
|
||||
|
||||
// Float is used here instead of Floats::f24 to ensure that Floats::f24 is properly sized for direct interpretations as a float by the render backend
|
||||
#define ASSERT_POS(member, pos) static_assert(offsetof(PicaVertex, s.member) == pos * sizeof(float), "PicaVertex struct is broken!");
|
||||
|
||||
ASSERT_POS(positions, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue