m2b-ar-tp2/fish_schooling.h

18 lines
251 B
C
Raw Normal View History

2021-10-06 19:49:42 +02:00
#ifndef FISH_SCHOOLING_H
#define FISH_SCHOOLING_H
#include "fish.h"
class FishSchooling {
QVector3D bounds;
public:
std::vector<Fish> fishes;
FishSchooling(size_t count=10, QVector3D bounds={20, 20, 20});
void animate(float dt);
};
#endif