Cleanup some warnings.

This commit is contained in:
hondacrx
2021-11-15 16:11:20 -05:00
parent e0f344af25
commit 032f9a55f3
70 changed files with 233 additions and 234 deletions
+2 -2
View File
@@ -251,7 +251,7 @@ namespace Framework.GameMath
public Vector3 corner(int index)
{
// default constructor inits all components to 0
Vector3 v = new Vector3();
Vector3 v = new();
switch (index)
{
@@ -312,7 +312,7 @@ namespace Framework.GameMath
public static AxisAlignedBox operator +(AxisAlignedBox box, Vector3 v)
{
AxisAlignedBox outt = new AxisAlignedBox();
AxisAlignedBox outt = new();
outt.Lo = box.Lo + v;
outt.Hi = box.Hi + v;
return outt;