Add new **Noise** library for C++/C#/VisualScript/HLSL utilities

This commit is contained in:
Wojtek Figat
2022-07-31 22:20:38 +02:00
parent 1fdc43699c
commit 2104dbc682
10 changed files with 786 additions and 131 deletions

View File

@@ -469,7 +469,7 @@ public:
static Vector2Base Frac(const Vector2Base& v)
{
return Vector3(v.X - (int32)v.X, v.Y - (int32)v.Y);
return Vector2Base(v.X - (int32)v.X, v.Y - (int32)v.Y);
}
static Vector2Base Round(const Vector2Base& v)