# Category Archives: Math Labs

## blRectangle — A simple Rectangle class in c++ with useful functions

## c++ functions — Working with numbers

Introduction I’m collecting all the common numeric function I have used over the years in a small file, keeping track of their dependencies. In this post, I will present to you all the functions I use, what they’re used for, and their dependencies. I will be updating this post as…

## blQuaternion — A simple quaternion in c++

## blVector3d — A simple 3d vector in c++

Introduction As I have mentioned in my blPoint2d article, over the years, I have developed many mathematical tools that I have used time over time. In this article, I present a simple three-dimensional vector class, which I use in many applications, from machine vision to physics simulation, to 3d graphics.…

## blPoint2d — A simple 2d point structure in c++

Introduction When developing physics, engineering or any other type of technical applications, there are basic mathematical tools that I have found myself using time over time. In this article, I design and build a simple two-dimensional point/vector structure with some basic functionality, keeping in mind code readability. Here’s a snippet of…