diff options
| author | yum <yum.food.vr@gmail.com> | 2025-11-01 11:50:17 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-11-01 11:50:17 -0700 |
| commit | 04c1976f17cb766961ed4dc0ad3ef26848188c00 (patch) | |
| tree | 97dce90ac8663f1289fe7cfbcb7d35d0e2d606bb /vertex_deformation.slang | |
| parent | 12c223b5b8bf1860d77f41551cf9e5374196aed7 (diff) | |
meow
Diffstat (limited to 'vertex_deformation.slang')
| -rw-r--r-- | vertex_deformation.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vertex_deformation.slang b/vertex_deformation.slang index 678cc24..0791aa7 100644 --- a/vertex_deformation.slang +++ b/vertex_deformation.slang @@ -55,7 +55,7 @@ float jac_det = determinant(jacobian); \ float3x3 inv_jac = inverse(jacobian, jac_det); \ float3x3 trans_jac = transpose(jacobian); \ - normal = mul(trans_jac, normal) * sign(jac_det); \ + normal = mul(trans_jac, normal); \ tangent = mul(inv_jac, tangent) // Syntactic sugar - wraps the previous three macros. |
