Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPathGuidingLibrary/openpgl
/ file_exists
Function
file_exists
tools/openpgl_bench/openpgl_bench.cpp:32–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
};
31
32
inline bool file_exists(const std::string &file_name)
33
{
34
std::ifstream file(file_name.c_str());
35
return file.good();
36
}
37
38
inline pgl_vec3f squareToUniformSphere(const float sampleX, const float sampleY)
39
{
Callers
1
validate
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected