| 309 | } |
| 310 | |
| 311 | PyObject* VectorPy::negative(PyObject* args) const |
| 312 | { |
| 313 | if (!PyArg_ParseTuple(args, "")) { |
| 314 | return nullptr; |
| 315 | } |
| 316 | |
| 317 | VectorPy::PointerType this_ptr = getVectorPtr(); |
| 318 | Vector3d v = -(*this_ptr); |
| 319 | return new VectorPy(v); |
| 320 | } |
| 321 | |
| 322 | PyObject* VectorPy::richCompare(PyObject* v, PyObject* w, int op) |
| 323 | { |
no outgoing calls
no test coverage detected