-
The following methods in `Vector3` have yet to be added:
- [x] `distance(self, other: Self) -> f64` -- Returns the distance between two vectors.
- [x] `slerp` -- Spherical lerp
- [ ] `ortho_n…
-
-
map one range of numbers to another
-
Make this code generic, optimized and commented.
```
using System;
using System.Collections;
using UnityEngine;
namespace Game
{
public class AudioNavigationDistance : MonoBehaviour
{
…
-
While this functionality does currently exist with Share Links, there is **no such protection** when using a script, game mod, or other API control methods.
As such, there should be a setting for e…
-
Thanks for this nice little piece of code :)
My use-case is this: I have an animation coroutine that has different stages, like it plays one animation after another. One of them is a simple simple …
-
While I'm a big fan of the frame interpolation system, it has a central flaw: currently it simply Lerps between two transformation matrices. That is mathematically incorrect, since those transformatio…
-
and with additive colors its not so nice..
-
shader里面写了插值,看上去是做这个么?
half4x4 localToWorldMatrixPreAni = loadMatFromTexture(preAniFrame, bone.x);
half4 localPosPreAni = mul(v.vertex, localToWorldMatrixPreAni);
localPos = lerp(localPos, localPos…
-
It would be nice to have an OpenGL version also (Something that works with a Monogame DesktopGL build.). Just changing the shader model version doesn't seem to be enough. (The load() function on Textu…