MCPcopy Create free account
hub / github.com/AnswerDotAI/gpu.cpp / Params

Class Params

examples/render/run.cpp:97–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 std::array<float, NROWS * NCOLS> screen;
96
97 struct Params {
98 float focalLength;
99 uint32_t screenWidth;
100 uint32_t screenHeight;
101 float sphereRadius;
102 float sphereCenterX;
103 float sphereCenterY;
104 float sphereCenterZ;
105 uint32_t time;
106 } params = {/* focal length */ 1.0,
107 NCOLS,
108 NROWS,
109 /* radius */ 1.0,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected