diff options
| author | yum <yum.food.vr@gmail.com> | 2026-03-16 15:51:20 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-03-16 15:51:29 -0700 |
| commit | 7bfc0ecde84604abf8974ec2ffd1e9b0efb84bea (patch) | |
| tree | 4473487cb2d9b06b8cd675bf363f84167684e1ca /math.cginc | |
| parent | 50fcd18a2fb21cb19893c0c65310a525925c9177 (diff) | |
Add more debug views
Diffstat (limited to 'math.cginc')
| -rwxr-xr-x | math.cginc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -17,6 +17,8 @@ #define SQRT_3_OVER_2 0.8660254037844386f #define EULERS_CONSTANT 2.718281828f +#define F1_TO_F3(x) float3((x), (x), (x)) + float sin_noise_3d(float3 uvw) { return sin(uvw[0]) * sin(uvw[1]) * sin(uvw[2]); } |
