Package: graphene

Function graphene:vec4-init-from-float

Lambda List

graphene:vec4-init-from-float (v arg)

Arguments

v -- a graphene:vec4-t instance
arg -- a list with four numbers coerced to single floats

Return Value

The initialized graphene:vec4-t instance.

Details

Initializes v with the contents of the given list.

Note

The Lisp implementation does not use the C function, but calls the graphene:vec4-init function to inialize the vector.
(defun vec4-init-from-float (v arg)
  (apply #'vec4-init v arg))    
 

See also

2024-12-26