directional argument to orders

This commit is contained in:
devZoGok
2023-10-29 16:06:28 +02:00
parent 2a70f37657
commit acc5ad325b
9 changed files with 68 additions and 39 deletions
+3
View File
@@ -17,6 +17,9 @@ namespace battleship{
using namespace configData;
void GameObject::update(){
leftVec = model->getGlobalAxis(0);
upVec = model->getGlobalAxis(1);
dirVec = model->getGlobalAxis(2);
}
void GameObject::placeAt(Vector3 p) {