You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 23:16:20 +00:00
🆙 the latest updates to Renderer
This commit is contained in:
+2
-1
@@ -105,7 +105,8 @@ export class IsometricImageFurniVisualization extends FurnitureAnimatedVisualiza
|
||||
const offsetX = ((background.width - sprite.width) / 2);
|
||||
const offsetY = ((background.height - sprite.height) / 2);
|
||||
|
||||
sprite.position.set(offsetX, offsetY);
|
||||
sprite.x = Math.floor(offsetX);
|
||||
sprite.y = Math.floor(offsetY);
|
||||
|
||||
container.addChild(background, sprite);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user