18 lines
251 B
C
18 lines
251 B
C
|
#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
|