fixed header numbers

This commit is contained in:
SG101 2022-10-09 22:45:49 +02:00
parent 55d8fc95e4
commit 6f6dfabbe8

View file

@ -45,7 +45,7 @@
<h2 id="code">Code</h2>
<div indented>
<h2>Boid</h2>
<h3>Boid</h3>
<div indented>
<p>
The boids themselves are primarily a position, a velocity, a mass, and a collection of behaviour function pointers. These boids are then stored in a vector and each of the behaviours is run for each of the boids, resulting in the demonstrated movements.
@ -57,7 +57,7 @@
</div>
</div>
<h2>Behaviours</h2>
<h3>Behaviours</h3>
<div indented>
<p>
As previously mentioned, the boids all store a collection of behaviours, represented by function pointers. These function pointers take as input a context object representing the program state at the start of the frame, and output a desired change in velocity. The original boids paper describes cohesion, separation, and alignment, so these are the main behaviours implemented.