Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RavEngine/RavEngine
/ read32
Function
read32
deps/physx/physx/samples/samplebase/RawLoader.cpp:130–138 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
128
}
129
130
static PxU32 read32(File* fp)
131
{
132
PxU32 data;
133
size_t numRead = fread(&data, 1, 4, fp);
134
if(numRead != 4) { return 0; }
135
if(gFlip)
136
Flip(data);
137
return data;
138
}
139
140
static PxF32 readFloat(File* fp)
141
{
Callers
1
loadRAWfile
Function · 0.70
Calls
1
Flip
Function · 0.70
Tested by
no test coverage detected