Added object distributuon calculationg

This commit is contained in:
Misaki
2024-09-22 00:11:03 +09:00
parent 77d16fbffa
commit df0194ff9c
22 changed files with 375 additions and 100 deletions

View File

@@ -0,0 +1,14 @@
using Unity.Mathematics;
namespace Misaki.ArtTool
{
public class Clamp : FieldBase
{
public float2 minMax;
public override float Operate(float3 position, float weight)
{
return math.clamp(weight, minMax.x, minMax.y);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 315e5886979edba429c781f6a8a0a0cc