Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ getPixel
Function
getPixel
tests/cpp-tests/Source/PhysicsTest/PhysicsTest.cpp:178–181 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
176
3, -16, 63, 15, -61, -16, 0, 31, -127, -127, -8, 31, -1, -127, -8, 31, -128, 7, -128, 0, 0};
177
178
int getPixel(int x, int y)
179
{
180
return (LOGO_IMAGE[(x >> 3) + y * LOGO_RAW_LENGTH] >> (~x & 0x7)) & 1;
181
}
182
183
float frand()
184
{
Callers
1
onEnter
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected