Package: graphene
Function graphene:point-to-vec2
Lambda Listgraphene:point-to-vec2 (p v) ArgumentsReturn Value The graphene:vec2-t instance for the coordinates of the point. Details Stores the coordinates of the given point into a vector. Examples
(graphene:with-point (p 1.0 2.0)
(graphene:with-vec2 (v)
(graphene:vec2-to-float (graphene:point-to-vec2 p v))))
=> (1.0 2.0) | See also |
2025-08-09