Package: graphene

CStruct graphene:vec2-t

Declaration

(cffi:defcstruct vec2-t
  (value :float :count 4)) ; place for 4 single floats  

Details

The graphene:vec2-t structure is capable of holding a vector with two dimensions x and y. Use the graphene:vec2-x and graphene:vec2-y functions to get the values of the components. There are no functions to set the values directly.
 

See also

2025-4-5