MCPcopy 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
113vec2 scaleUv(vec2 uv, int data)
114{
115 float scale = float(data >> 12);
116 uv *= scale;
117 return uv;
118}
119
120vec4 sampleTexture(int id, vec2 uv)
121{

Callers 2

sampleTextureFunction · 0.85
sampleTextureClampFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected