Prusa MINI Firmware overview
|
Go to the documentation of this file.
43 #include "../core/types.h"
49 vector_3(
const float &_x,
const float &_y,
const float &_z) {
set(_x, _y, _z); }
vector_3(const xyze_float_t &in)
Definition: vector_3.h:52
T z
Definition: types.h:286
#define SERIAL_CHAR(x)
Definition: serial.h:69
void normalize()
Definition: vector_3.cpp:67
float a
Definition: types.h:287
#define RSQRT(x)
Definition: macros.h:282
#define sq(x)
Definition: wiring_constants.h:83
T z
Definition: types.h:383
T x
Definition: types.h:286
static matrix_3x3 create_look_at(const vector_3 &target)
Definition: vector_3.cpp:114
FORCE_INLINE vector_3 operator*(const float &v) const
Definition: vector_3.h:68
FORCE_INLINE vector_3 operator-(const vector_3 &v) const
Definition: vector_3.h:67
vector_3 get_normal() const
Definition: vector_3.cpp:61
#define PGM_P
Definition: pgmspace.h:30
uint8_t i
Definition: screen_test_graph.c:72
#define SERIAL_ECHOLNPAIR_F(V...)
Definition: serial.h:177
static matrix_3x3 transpose(const matrix_3x3 &original)
Definition: vector_3.cpp:131
FI void set(const float px)
Definition: types.h:290
void apply_rotation(const matrix_3x3 &matrix)
Definition: vector_3.cpp:72
void set_to_identity()
Definition: vector_3.cpp:94
Definition: vector_3.h:73
#define FORCE_INLINE
Definition: macros.h:40
float b
Definition: types.h:287
void apply_rotation_xyz(const matrix_3x3 &matrix, float &_x, float &_y, float &_z)
Definition: vector_3.cpp:88
vector_3(const float &_x, const float &_y, const float &_z)
Definition: vector_3.h:49
static vector_3 cross(const vector_3 &a, const vector_3 &b)
Definition: vector_3.cpp:54
T x
Definition: types.h:383
#define SERIAL_ECHO_F(V...)
Definition: serial.h:71
void debug(PGM_P const title)
Definition: vector_3.cpp:139
vector_3(const xy_float_t &in)
Definition: vector_3.h:50
abc_float_t vectors[3]
Definition: vector_3.h:74
T x
Definition: types.h:185
const uint8_t[]
Definition: 404_html.c:3
vector_3(const xyz_float_t &in)
Definition: vector_3.h:51
T y
Definition: types.h:286
void apply_rotation_xyz(const matrix_3x3 &rotationMatrix, float &x, float &y, float &z)
Definition: vector_3.cpp:88
#define SERIAL_ECHOPAIR_F(S, V...)
Definition: serial.h:176
#define SERIAL_EOL()
Definition: serial.h:181
Definition: vector_3.h:47
T y
Definition: types.h:185
static matrix_3x3 create_from_rows(const vector_3 &row_0, const vector_3 &row_1, const vector_3 &row_2)
Definition: vector_3.cpp:101
FORCE_INLINE vector_3 operator+(const vector_3 &v) const
Definition: vector_3.h:66
void serialprintPGM(PGM_P str)
Definition: serial.cpp:35
void debug(PGM_P const title)
Definition: vector_3.cpp:77
T y
Definition: types.h:383