Blender Git Commit Log

Git Commits -> Revision 28b9dfe

February 1, 2018, 07:38 (GMT)
Move int <-> float 2d vector funcs from GP code to Math Lib

We now have the following two new functions:
* copy_v2fl_v2i(float r[2], const int a[2]) <-- Copies 2D int vector to float vector
* round_v2i_v2fl(int r[2], const float a[2]) <-- Copies 2D float vector to int vector, by rounding the values

Commit Details:

Full Hash: 28b9dfeece3f550cf494f4079ba982cc8164bb0f
Parent Commit: e6b8221
Lines Changed: +19, -17

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020