hello i am trying to use divide for an MFloatPoint and MFloatVector
i have used subtract successfully:
diff_list.append(om.MFloatPoint(p2)-om.MFloatVector(p1))
but how can you successfully use divide?:
ratio=om.MFloatPoint(p1) / om.MFloatVector(p2)
it gives this back, im not sure what i need to do:
in method ‘MFloatPoint___div__’, argument 2 of type ‘float’ #
could someone let me know how this works?
thanks,
Sam