Open Cryru opened 3 years ago
~TransformRenderable is confusing, and the model matrix is rarely used (only by classes such as RichText which overoptimize their drawing). The memory overhead in TileMap is not worth it. Along with removing this, the automatic matrix push in the RenderComposer should also go, as it breaks batches.~
CrossPlatformPath and MakeStringPathSafe in the helpers file are no longer needed?
~Main thread does nothing but sleep in Parallel.FastLoops essentially idling. Maybe a new task system is in order?~
FlipX and FlipY arguments to RenderSprite should be grouped in a enum. Introduce rotation in 90 degree increments (90/180/270) both before and after flip. Add flag combining.
enum UVTransformation {
Rotate90,
FlipX,
FlipY,
Rotate90AfterFlip
}
CoroutineManager and ITimer are flawed. Cant create alternate time incrementors and there's a lot of dead weight in that API
BaseMap's world tree needs to be replaced with a grid for allocation free iteration and tags instead of world tree layers