Skip to content

shz_vec2_deref

Markdown
#define shz_vec2_deref(ptr) (*((SHZ_ALIASING shz_vec2_t*)(ptr)))

Dereferences the given pointer to a sequence of 2 floats as a shz_vec2_t.

NameTypeDescription
ptr
  • C++ equivalent: none (usable from C++ as is)
  • Back-ends: n/a (not a function)
  • Defined in: sh4zam/shz_vector.h:725
  • Module: Vector, section "Adapters"