Constructors
In this case, a new pointer to an instance of osg::Geometry
is created in C++ with:
In Nim we can create a constructor as follows:
where we useimportcpp
with the same code we used in C++.
So the equivalent to:
will be in Nim:Bug
cnew, constructor