JohnSundell / ImagineEngine

A project to create a blazingly fast Swift game engine that is a joy to use 🚀
Other
1.82k stars 105 forks source link

Generalize layer transformation code #179

Closed JohnSundell closed 6 years ago

JohnSundell commented 6 years ago

This change refactors the layer transformation code from being concrete implementations on Layer and TextLayer to be a more generalized extension on any CALayer. This to enable more CALayer subclasses to easily be introduced, and to be able to reduce code duplication.

Johns-CI-Bot commented 6 years ago
1 Warning
:warning: Tests/ImagineEngineTests/ActorTests.swift#L702 - TODOs should be avoided (Needed until we find a better …).

Generated by :no_entry_sign: Danger