Fix params int[] constructor in Vector4d.

Forgot to change an array indexer in a copypasta.
This commit is contained in:
Will Fowler
2015-11-10 13:11:32 -07:00
parent 4d12f9be6f
commit 61884e01b6

View File

@@ -169,7 +169,7 @@ namespace LibBSP {
x = Convert.ToDouble(point[0]);
y = Convert.ToDouble(point[1]);
z = Convert.ToDouble(point[2]);
w = Convert.ToDouble(point[2]);
w = Convert.ToDouble(point[3]);
} else if (point.Length == 3) {
x = Convert.ToDouble(point[0]);
y = Convert.ToDouble(point[1]);