Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aardappel/treesheets
/ fastfloor
Function
fastfloor
lobster/src/simplex.cpp:14–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
*/
13
14
int fastfloor( const float x ) { return x > 0 ? (int) x : (int) x - 1; }
15
16
float dot( const int* g, const float x, const float y ) {
17
return g[0]*x + g[1]*y;
Callers
1
SimplexRawNoise
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected