openrw
openrw copied to clipboard
lineBuff and dbuff of DebugDraw can be converted to std::optional
It should be quite simple task, but replacing usages can require some work.
What is a purpose of this changes?
They are not moved even once, when engine is running. So it's better to use static allocated memory and improve caching.
Also operating on objects is nicer than on ptrs.