A description of how I created a fixed-size canvas element that could render something much larger, by managing a virtual viewport. Scrolling, zooming, and mapping any location between user and canvas space is automatically handled by the viewport.
A practical introduction to big O notation. What is it? What's it good for? We'll dive into a practical approach to understand big O notation, and how we can use it in our daily lives effectively.
template <class Derived, class ...Dependencies>
class System {
static_assert(
all<std::is_base_of<Component, Dependencies>{}...>{}>,
"Every type in Dependencies should inherit from Component"
);
}