Download Latest Version v0.4.6_ Bugfix and Improvements.zip (198.9 kB)
Email in envelope

Get an email when there's a new version of cglm

Home / v0.4.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2018-04-15 634 Bytes
v0.4.1_ vector update.tar.gz 2018-04-15 145.4 kB
v0.4.1_ vector update.zip 2018-04-15 190.7 kB
Totals: 3 Items   336.8 kB 0
  • optimize non-optimized with SIMD vec4 operations with SSE/SSE2
  • add one and zero helpers for vectors
  • fix scale_as for zero length vector: now it it returns zero
  • new functions for vec3 and vec4: (s suffix stands for scalar)
    • _mul: multiply two vector (replacement for _mulv)
    • _div: div two vector
    • _divs: div vector with scalar
    • adds: add scalar to each components of vec
    • subs: sub scalar from each components of vec
    • addadd, subadd, muladd, muladds helpers ( += )
  • optimize rotate vec3 using matrix4, add same function for mat3
  • add some tests for vectors
  • update docs for new apis
Source: README.md, updated 2018-04-15