PER Firmware
Loading...
Searching...
No Matches
vector2_test_shim.h File Reference
#include "vector2.h"
Include dependency graph for vector2_test_shim.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

vector2_t test_vector2_add (const vector2_t a, const vector2_t b)
 
vector2_t test_vector2_sub (const vector2_t a, const vector2_t b)
 
vector2_t test_vector2_scale (const vector2_t vec, const float scalar)
 
float test_vector2_dot (const vector2_t a, const vector2_t b)
 
float test_vector2_cross (const vector2_t a, const vector2_t b)
 
float test_vector2_magnitude (const vector2_t vec)
 
vector2_t test_vector2_normalize (const vector2_t vec)
 
float test_vector2_distance (const vector2_t a, const vector2_t b)
 
vector2_t test_vector2_midpoint (const vector2_t a, const vector2_t b)
 
vector2_t test_vector2_perpendicular (const vector2_t vec)
 

Function Documentation

◆ test_vector2_add()

vector2_t test_vector2_add ( const vector2_t a,
const vector2_t b )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_vector2_cross()

float test_vector2_cross ( const vector2_t a,
const vector2_t b )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_vector2_distance()

float test_vector2_distance ( const vector2_t a,
const vector2_t b )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_vector2_dot()

float test_vector2_dot ( const vector2_t a,
const vector2_t b )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_vector2_magnitude()

float test_vector2_magnitude ( const vector2_t vec)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_vector2_midpoint()

vector2_t test_vector2_midpoint ( const vector2_t a,
const vector2_t b )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_vector2_normalize()

vector2_t test_vector2_normalize ( const vector2_t vec)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_vector2_perpendicular()

vector2_t test_vector2_perpendicular ( const vector2_t vec)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_vector2_scale()

vector2_t test_vector2_scale ( const vector2_t vec,
const float scalar )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_vector2_sub()

vector2_t test_vector2_sub ( const vector2_t a,
const vector2_t b )
Here is the call graph for this function:
Here is the caller graph for this function: