solidc
Robust collection of general-purpose cross-platform C libraries and data structures designed for rapid and safe development in C
Loading...
Searching...
No Matches
Public Attributes | List of all members
Vec4 Struct Reference

4D vector storage type (16 bytes, naturally aligned). More...

#include <vec.h>

Public Attributes

float x
 X component.
 
float y
 Y component.
 
float z
 Z component.
 
float w
 W component (also used for homogeneous coordinates)
 

Detailed Description

4D vector storage type (16 bytes, naturally aligned).

Matches SimdVec4 size but not guaranteed to be 16-byte aligned. Still recommended to convert to SimdVec4 for computation.

Examples
/home/runner/work/solidc/solidc/include/vec.h.

Definition at line 75 of file vec.h.


The documentation for this struct was generated from the following file: