Skip to content

Add alignment, SM_INLINE, OpenMP and GLFW example support#1

Open
joneqdaniel wants to merge 1 commit into
slendidev:masterfrom
joneqdaniel:master
Open

Add alignment, SM_INLINE, OpenMP and GLFW example support#1
joneqdaniel wants to merge 1 commit into
slendidev:masterfrom
joneqdaniel:master

Conversation

@joneqdaniel
Copy link
Copy Markdown

@joneqdaniel joneqdaniel commented May 15, 2026

  • explicitly force inline using SM_INLINE with (always_inline,flatten,nothrow) inline
  • align Vec to N * alignof(T) if N==std::bit_ceil(N) otherwise use default alignof(T)
  • strip binary if CMAKE_BUILD_TYPE != Debug
  • add OpenMP support
  • add SSE compiler option on AMD64
  • add GNUInstallDirs and FindPkgConfig for non MSVC
  • add test case for alignof(Vec3) and alignof(Vec4)
  • add AVec3 and AVec3d
  • add sincos constexpr
  • add position() and direction() to Vec with N = 3
  • add GLFW example support
  • add GLUT example support

@joneqdaniel joneqdaniel force-pushed the master branch 5 times, most recently from 2c38922 to a5391b0 Compare May 16, 2026 20:31
@joneqdaniel joneqdaniel changed the title Add alignment, SM_INLINE and OpenMP CMake support Add alignment, SM_INLINE, OpenMP and GLFW example support May 16, 2026
@joneqdaniel joneqdaniel force-pushed the master branch 6 times, most recently from c806259 to 53dae22 Compare May 17, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant