mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-30 12:23:42 +01:00
Fix some issues with parameters.
This commit is contained in:
parent
ed27b1dff4
commit
630647b544
14 changed files with 52 additions and 30 deletions
|
|
@ -40,7 +40,7 @@ public readonly struct CustomizeParameterValue
|
|||
=> x < 0 ? -x * x : x * x;
|
||||
|
||||
private static float Root(float x)
|
||||
=> x < 0 ? -(float)Math.Sqrt(-x) : x;
|
||||
=> x < 0 ? -(float)Math.Sqrt(-x) : (float)Math.Sqrt(x);
|
||||
|
||||
public float this[int idx]
|
||||
=> _data[idx];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue