let
of_array =
function
|
[|x; y; z |]
->
create x y z
|
_
->
invalid_arg
"Osg.Vec3.of_array"