Update curvature.h

Fixed a type in line 108.  Was calling max_scale(), should be calling maxscale()
This commit is contained in:
Ric Lewis 2024-05-23 12:33:21 -07:00 committed by GitHub
parent 56d13de9b8
commit 36c6c7bf78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,7 +105,7 @@ vec2 bkwtrans(vec2 xy)
vec2 cgwg_warp(vec2 coord) vec2 cgwg_warp(vec2 coord)
{ {
vec3 stretch = max_scale(); vec3 stretch = maxscale();
coord = (coord - vec2(0.5, 0.5))*aspect*stretch.z + stretch.xy; coord = (coord - vec2(0.5, 0.5))*aspect*stretch.z + stretch.xy;
return (bkwtrans(coord) / return (bkwtrans(coord) /