Base: add factory method to Vector2dPy
This commit is contained in:
@@ -50,6 +50,8 @@ inline Vector3<T> getVectorFromTuple(PyObject* o)
|
||||
class BaseExport Vector2dPy : public Py::PythonClass<Vector2dPy>
|
||||
{
|
||||
public:
|
||||
static Py::PythonClassObject<Vector2dPy> create(const Vector2d&);
|
||||
static Py::PythonClassObject<Vector2dPy> create(double x, double y);
|
||||
Vector2dPy(Py::PythonClassInstance *self, Py::Tuple &args, Py::Dict &kwds);
|
||||
virtual ~Vector2dPy();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user