Package: graphene

Function graphene:vec3-init-from-float

Lambda List

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

Arguments

v -- a graphene:vec3-t instance
arg -- a list with three numbers coerced to single floats

Return Value

The initialized graphene:vec3-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:vec3-init function to inialize the vector.
(defun vec3-init-from-float (v arg)
  (apply #'vec3-init v arg))    
 

See also

2024-12-26