22 #ifndef TETRAEDGE_TE_TE_VECTOR2F32_H 23 #define TETRAEDGE_TE_TE_VECTOR2F32_H 25 #include "math/vector2d.h" 38 TeVector2f32(
const Math::Vector2d &other) : Math::Vector2d(other) {};
40 TeVector2f32(
float x_,
float y_) : Math::Vector2d(x_, y_) {};
57 return getX() * other.getX() - getY() * other.getY();
60 float length()
const {
61 return sqrt(getX() * getX() + getY() * getY());
92 #endif // TETRAEDGE_TE_TE_VECTOR2F32_H
Definition: detection.h:27
static String format(MSVC_PRINTF const char *fmt,...) GCC_PRINTF(1
FORCEINLINE void writeFloatLE(float value)
Definition: stream.h:233
FORCEINLINE float readFloatLE()
Definition: stream.h:615
Definition: te_vector2s32.h:31
Definition: te_vector2f32.h:32