Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheForceEngine/TheForceEngine
/ scaleUv
Function
scaleUv
TheForceEngine/Shaders/textureSampleFunc.h:113–118 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
111
}
112
113
vec2 scaleUv(vec2 uv, int data)
114
{
115
float scale = float(data >> 12);
116
uv *= scale;
117
return uv;
118
}
119
120
vec4 sampleTexture(int id, vec2 uv)
121
{
Callers
2
sampleTexture
Function · 0.85
sampleTextureClamp
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected