]> git.localhorst.tv Git - blobs.git/blobdiff - src/blobs.cpp
track creature with camera
[blobs.git] / src / blobs.cpp
index ec143763a029e6b504294b8dcbad1e1165b2b718..836c51d335845b0f79e74caf891c6bc3f9ae4732 100644 (file)
@@ -97,7 +97,7 @@ int main(int argc, char *argv[]) {
        std::cout << "moon cycles per year: " << (planet.OrbitalPeriod() / moon.OrbitalPeriod()) << std::endl;
 
        auto blob = new creature::Creature(sim);
-       blob->Name("Blob");
+       blob->Name(assets.name.Sequential());
        Spawn(*blob, planet);
        blob->BuildVAO();
 
@@ -109,7 +109,7 @@ int main(int argc, char *argv[]) {
                // sunset
                //.FirstPerson(3, glm::vec3(0.0f, 0.0f, 0.1f), glm::vec3(1.0f, -0.75f, 0.1f))
                // from afar
-               .MapView(0, glm::vec3(0.0f, 0.0f, 10.0f), 0.0f)
+               .MapView(0, glm::vec3(0.0f, 0.0f, 30.0f), 0.0f)
                // from afar, rotating
                //.Orbital(glm::vec3(-60.0f, 0.0f, 0.0f))
        ;