rendertargetvulkan
This commit is contained in:
parent
8b12dc39b3
commit
1c1a142f52
9 changed files with 221 additions and 146 deletions
|
|
@ -49,14 +49,7 @@ export namespace Crafter {
|
|||
Transform2D& operator=(Transform2D&) = delete;
|
||||
virtual ~Transform2D() = default;
|
||||
|
||||
virtual void UpdatePosition(RendertargetBase<1>& window, Transform2D& parent) {
|
||||
ScaleElement(parent);
|
||||
for(Transform2D* child : children) {
|
||||
child->UpdatePosition(window, *this);
|
||||
}
|
||||
}
|
||||
|
||||
virtual void UpdatePosition(RendertargetBase<3>& window, Transform2D& parent) {
|
||||
virtual void UpdatePosition(RendertargetBase& window, Transform2D& parent) {
|
||||
ScaleElement(parent);
|
||||
for(Transform2D* child : children) {
|
||||
child->UpdatePosition(window, *this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue