Package: graphene

Function graphene:point3d-to-vec3

Lambda List

graphene:point3d-to-vec3 (p v)

Arguments

p -- a graphene:point3d-t instance
v -- a graphene:vec3-t instance

Return Value

The graphene:vec3-t instance with the coordinates of the point.

Details

Stores the coordinates of the given point into a vector.

Examples

(graphene:with-point3d (p 1.0 2.0 3.0)
  (graphene:with-vec3 (v)
    (graphene:vec3-to-float (graphene:point3d-to-vec3 p v))))
=> (1.0 2.0 3.0)    
 

See also

2023-12-3