mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
Logs
This commit is contained in:
parent
1e375e59ac
commit
346b2092b4
@ -396,6 +396,12 @@ export class RoomLogic extends RoomObjectLogicBase
|
||||
|
||||
if(((((planePosition.x >= 0) && (planePosition.x < leftSideLength)) && (planePosition.y >= 0)) && (planePosition.y < rightSideLength)))
|
||||
{
|
||||
console.log('found plane', `
|
||||
tileX: ${ tileX }
|
||||
tileY: ${ tileY }
|
||||
tileZ: ${ tileZ }
|
||||
leftSideLength: ${ leftSideLength }
|
||||
rightSideLength: ${ rightSideLength }`);
|
||||
this.object.model.setValue(RoomObjectVariable.ROOM_SELECTED_X, tileX);
|
||||
this.object.model.setValue(RoomObjectVariable.ROOM_SELECTED_Y, tileY);
|
||||
this.object.model.setValue(RoomObjectVariable.ROOM_SELECTED_Z, tileZ);
|
||||
@ -403,6 +409,12 @@ export class RoomLogic extends RoomObjectLogicBase
|
||||
}
|
||||
else
|
||||
{
|
||||
console.log('no found plane', `
|
||||
tileX: ${ tileX }
|
||||
tileY: ${ tileY }
|
||||
tileZ: ${ tileZ }
|
||||
leftSideLength: ${ leftSideLength }
|
||||
rightSideLength: ${ rightSideLength }`);
|
||||
this.object.model.setValue(RoomObjectVariable.ROOM_SELECTED_PLANE, 0);
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user