]> git.localhorst.tv Git - blobs.git/commitdiff
remove outdated TODOs
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 1 Dec 2017 08:49:58 +0000 (09:49 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 1 Dec 2017 08:49:58 +0000 (09:49 +0100)
src/creature/creature.cpp

index 690f6fb7fe1608db0045952cce5c648e60ca1dcb..12924b94b9239651e212392868958d0d041f3915 100644 (file)
@@ -232,7 +232,6 @@ Situation::Derivative Creature::Step(const Situation::Derivative &ds, double dt)
 }
 
 glm::dmat4 Creature::LocalTransform() noexcept {
-       // TODO: surface transform
        const double half_size = size * 0.5;
        const glm::dvec3 &pos = situation.Position();
        const glm::dmat3 srf(world::Planet::SurfaceOrientation(situation.Surface()));
@@ -512,7 +511,6 @@ void Split(Creature &c) {
        Creature *a = new Creature(c.GetSimulation());
        const Situation &s = c.GetSituation();
        a->Name(c.GetSimulation().Assets().name.Sequential());
-       // TODO: mutate
        c.GetGenome().Configure(*a);
        s.GetPlanet().AddCreature(a);
        // TODO: duplicate situation somehow