fixed header numbers
This commit is contained in:
parent
55d8fc95e4
commit
6f6dfabbe8
|
@ -45,7 +45,7 @@
|
||||||
<h2 id="code">Code</h2>
|
<h2 id="code">Code</h2>
|
||||||
<div indented>
|
<div indented>
|
||||||
|
|
||||||
<h2>Boid</h2>
|
<h3>Boid</h3>
|
||||||
<div indented>
|
<div indented>
|
||||||
<p>
|
<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.
|
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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>Behaviours</h2>
|
<h3>Behaviours</h3>
|
||||||
<div indented>
|
<div indented>
|
||||||
<p>
|
<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.
|
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.
|
||||||
|
|
Loading…
Reference in a new issue