quick change

This commit is contained in:
devZoGok
2022-03-31 19:09:10 +03:00
parent 20c44aaefa
commit ca8bbd3542
+3 -3
View File
@@ -46,9 +46,9 @@ int main(){
cam->setPosition(Vector3(0, 0.25, 1) * 20); cam->setPosition(Vector3(0, 0.25, 1) * 20);
cam->lookAt(Vector3(0, 0, -1).norm(), Vector3(0, 1, 0).norm()); cam->lookAt(Vector3(0, 0, -1).norm(), Vector3(0, 1, 0).norm());
AssetManager::getSingleton()->load(MODEL_PATH + "kek.xml"); string modelPath = MODEL_PATH + "kek.xml";
AssetManager::getSingleton()->load(modelPath);
Model *model = new Model(MODEL_PATH + "kek.xml"); Model *model = new Model(modelPath);
Material *mat = new Material(PATH + "texture"); Material *mat = new Material(PATH + "texture");
string images[] = {TEX_PATH + "defaultTexture.jpg"}; string images[] = {TEX_PATH + "defaultTexture.jpg"};