Blender Git Commit Log

Git Commits -> Revision 6ac0a3d

Revision 6ac0a3d by Jacques Lucke (master)
January 22, 2021, 11:16 (GMT)
BLI: add conversion from float2 to float3

Previously float2 was converted to float3 by implicitly converting to a
float pointer first, which was then passed to the float3 constructor.
This leads to uninitialized memory in the z component of the new float3.

Commit Details:

Full Hash: 6ac0a3d83c8e5a39bd5356aa0d68e3166bd91e82
Parent Commit: cd8893d
Lines Changed: +5, -0

1 Modified Path:

/source/blender/blenlib/BLI_float2.hh (+5, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021