Bbop-2D 0.4.1-alpha
Bbop-2D is a c++ library based on openGL to make 2D game. It implement sprite, shape, light and more.
Loading...
Searching...
No Matches
Functions
bbopMathClass.cpp File Reference
#include "../../../include/BBOP/Graphics/bbopMathClass.h"
#include <cmath>
Include dependency graph for bbopMathClass.cpp:

Functions

float bbopGetDistance (Vector2f a, Vector2f b)
 Renvoie la distance entre deux point.
 

Function Documentation

◆ bbopGetDistance()

float bbopGetDistance ( Vector2f  a,
Vector2f  b 
)

Renvoie la distance entre deux point.

Parameters
[in]apoint A
[in]bpoint B
Returns
float Disctance entre a et b