Blender Git Commit Log

Git Commits -> Revision 388d43d

Revision 388d43d by Julian Eisel (master)
January 14, 2020, 15:30 (GMT)
BLI_rct: Utilities for sanitizing coordinates (ensuring min <= max)

This might be useful in some places. Much of the code makes the implicit
assumption that the rectangle has valid coordinate order, good to make
it more explicit.

Commit Details:

Full Hash: 388d43d85a5d9dfc5261848c91c12dd883ea1f59
Parent Commit: 473fc35
Lines Changed: +48, -0

2 Modified Paths:

/source/blender/blenlib/BLI_rect.h (+4, -0) (Diff)
/source/blender/blenlib/intern/rct.c (+44, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021