Devember Day 02
Today, being a Wednesday, I have no problem whatsoever with both remembering and setting aside time to write code, since I have a programming class for 3 hours. I will some snippets of the code I wrote today along with this post, and some screenshots. However, I'm using my school's private game engine, and I can not post that code online.
So far we've only covered quite simple topics in class, this week we are learning about vectors. (C++ std::vectors to be specific). I did learn one interesting technique for calculating a equilateral triangle's third point, given the first two. Most of the rest of the code I wrote was very rudimentary vector manipulations, so I won't include it. (Min, max, number of occurrences, copying, reversing, etc.)
:::C++
void VectorLab1::FillEquilateralTriangle(const DOUBLE2 &p1Ref, const DOUBLE2 &p2Ref)
{
std::vector points;