summaryrefslogtreecommitdiff
path: root/aa.h
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-04-14 20:55:49 +0800
committerKeuin <[email protected]>2022-04-14 20:55:49 +0800
commit5f9a664b0f0955cf3e49b5da9ce6d5835cf5f73f (patch)
tree0caa3f8e5859fa2a689e685641d6bf24c508ea8a /aa.h
parentab29b428bdaa9f5a4691c9896b0fcaa9d7368225 (diff)
Make hitlist<T> no longer a generic class (but hitlist::color<T>(...) is now a generic member function).
Diffstat (limited to 'aa.h')
-rw-r--r--aa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/aa.h b/aa.h
index ed3bc7f..2c4c4e4 100644
--- a/aa.h
+++ b/aa.h
@@ -27,7 +27,7 @@ public:
delete subviews;
}
- virtual bitmap<T> render(const hitlist<T> &world, vec3d viewpoint, uint16_t image_width, uint16_t image_height) {
+ virtual bitmap<T> render(const hitlist &world, vec3d viewpoint, uint16_t image_width, uint16_t image_height) {
const unsigned hwcc = std::thread::hardware_concurrency();
std::cerr << "Rendering with " << hwcc << " thread(s)." << std::endl;