Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/admtrv/objcurses
/ clear
Method
clear
entities/rendering/buffer.cpp:89–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
87
}
88
89
void Buffer::clear()
90
{
91
for (auto &p : pixels)
92
{
93
p.z = std::numeric_limits<float>::max();
94
p.c =
' '
;
95
p.material = std::nullopt;
96
}
97
}
98
99
int Buffer::index_x(const float real_x) const
100
{
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected