feat: modelmatrix
This commit is contained in:
@@ -32,6 +32,11 @@ class Rendertarget {
|
||||
depth[i].i = std::numeric_limits<int32_t>::max();
|
||||
}
|
||||
}
|
||||
void clearTarget() {
|
||||
for (int i = 0; i < width * height * 3; i++) {
|
||||
pixels[i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
uint8_t *pixels;
|
||||
decimal *depth;
|
||||
|
||||
Reference in New Issue
Block a user