chore: Make construction from 2d Array explicit.

This commit is contained in:
Thorben Höhne 2025-05-04 21:27:53 +02:00
parent af41821541
commit 8bd331396d
Signed by: thoehne
GPG Key ID: 60D202D915B81DEC

View File

@ -83,7 +83,7 @@ namespace Phanes::Core::Math {
/// Construct matrix from field of values. /// Construct matrix from field of values.
/// </summary> /// </summary>
/// <param name="field"></param> /// <param name="field"></param>
TMatrix4(T field[4][4]) explicit TMatrix4(T field[4][4])
{ {
this->c0 = TVector4(field[0]); this->c0 = TVector4(field[0]);
this->c1 = TVector4(field[1]); this->c1 = TVector4(field[1]);