cpBBWrapVect edge case?
Posted: Sat Dec 19, 2009 12:09 pm
I just noticed this behavior of cpBBWrapVect:
is this by design? My initial thought was that it would return cpVect(0,0) instead?
I haven't actually any use case for this method and the current behavior might be the desired one. Im just working through the api for pymunk and trying to understand what the different methods does..
Code: Select all
cpBBWrapVect(BB(0,0,10,10), cpVect(10,0)) -> cpVect(10,10)
I haven't actually any use case for this method and the current behavior might be the desired one. Im just working through the api for pymunk and trying to understand what the different methods does..