Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheForceEngine/TheForceEngine
/ imod
Function
imod
TheForceEngine/Shaders/textureSampleFunc.h:28–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
}
27
28
ivec2 imod(ivec2 x, ivec2 y)
29
{
30
return x - (x / y)*y;
31
}
32
33
int wrapCoordScalar(int x, int edge)
34
{
Callers
1
wrapCoord
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected