added grass painting

This commit is contained in:
Soloman N
2018-06-07 12:42:41 -04:00
Unverified
parent 4c131fa0af
commit b971beb5bf
17 changed files with 2390 additions and 586 deletions
+1 -3
View File
@@ -4,18 +4,17 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CodeWalker.GameFiles;
namespace CodeWalker
{
public static class Vectors
{
public static Vector3 XYZ(this Vector4 v)
{
return new Vector3(v.X, v.Y, v.Z);
}
public static Vector3 Round(this Vector3 v)
{
return new Vector3((float)Math.Round(v.X), (float)Math.Round(v.Y), (float)Math.Round(v.Z));
@@ -25,7 +24,6 @@ namespace CodeWalker
{
return new Vector4((float)Math.Floor(v.X), (float)Math.Floor(v.Y), (float)Math.Floor(v.Z), (float)Math.Floor(v.W));
}
}