Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Multiply a vector<point2f>

All of my points in my vector<point2f> are halved, so I'd like to double them. Is there a better way to do this other than looping through all the points and multiplying each x, y by 2?

Thanks!

Multiply a vector<point2f>

All of my points in my vector<point2f> are halved, so I'd like to double them. Is there a better way to do this other than looping through all the points and multiplying each x, y value by 2?

Thanks!