|
|
@ -22,19 +22,9 @@
|
|
|
|
#ifdef ENABLE_AUTO_BED_LEVELING
|
|
|
|
#ifdef ENABLE_AUTO_BED_LEVELING
|
|
|
|
#include "vector_3.h"
|
|
|
|
#include "vector_3.h"
|
|
|
|
|
|
|
|
|
|
|
|
vector_3::vector_3()
|
|
|
|
vector_3::vector_3() : x(0), y(0), z(0) { }
|
|
|
|
{
|
|
|
|
|
|
|
|
this->x = 0;
|
|
|
|
|
|
|
|
this->y = 0;
|
|
|
|
|
|
|
|
this->z = 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vector_3::vector_3(float x, float y, float z)
|
|
|
|
vector_3::vector_3(float x_, float y_, float z_) : x(x_), y(y_), z(z_) { }
|
|
|
|
{
|
|
|
|
|
|
|
|
this->x = x;
|
|
|
|
|
|
|
|
this->y = y;
|
|
|
|
|
|
|
|
this->z = z;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vector_3 vector_3::cross(vector_3 left, vector_3 right)
|
|
|
|
vector_3 vector_3::cross(vector_3 left, vector_3 right)
|
|
|
|
{
|
|
|
|
{
|
|
|
|