46 return x *
x +
y *
y +
z *
z;
120 return (
x == rhs.
x) && (
y == rhs.
y) && (
z == rhs.
z);
124 return !(*
this == rhs);
131#ifdef LIBCARLA_INCLUDED_FROM_UE4
147 return FIntVector{
x,
y,
z};
158 template <
typename Packer>
161 clmdep_msgpack::type::make_define_array(
x,
y,
z).msgpack_pack(pk);
165 clmdep_msgpack::type::make_define_array(
x,
y,
z).msgpack_unpack(o);
167 template <
typename MSGPACK_OBJECT>
168 void msgpack_object(MSGPACK_OBJECT* o, clmdep_msgpack::zone& sneaky_variable_that_shadows_z)
const
170 clmdep_msgpack::type::make_define_array(
x,
y,
z).msgpack_object(o, sneaky_variable_that_shadows_z);
int64_t SquaredLength() const
Vector3DInt & operator+=(const Vector3DInt &rhs)
Vector3DInt(const FIntVector &v)=delete
Vector3DInt & operator-=(const Vector3DInt &rhs)
bool operator==(const Vector3DInt &rhs) const
void msgpack_unpack(clmdep_msgpack::object const &o)
Vector3DInt & operator/=(int32_t rhs)
friend Vector3DInt operator/(Vector3DInt lhs, int32_t rhs)
FIntVector ToFIntVector() const
Vector3DInt(int32_t ix, int32_t iy, int32_t iz)
friend Vector3DInt operator+(Vector3DInt lhs, const Vector3DInt &rhs)
friend Vector3DInt operator*(Vector3DInt lhs, int32_t rhs)
void msgpack_object(MSGPACK_OBJECT *o, clmdep_msgpack::zone &sneaky_variable_that_shadows_z) const
Vector3DInt ToMeters() const
Return a Vector3DInt converted from centimeters to meters.
friend Vector3DInt operator*(int32_t lhs, Vector3DInt rhs)
Vector3DInt ToCentimeters() const
Return a Vector3DInt converted from meters to centimeters.
Vector3DInt & operator*=(int32_t rhs)
bool operator!=(const Vector3DInt &rhs) const
Vector3DInt & operator=(const FIntVector &rhs)=delete
void msgpack_pack(Packer &pk) const
friend Vector3DInt operator/(int32_t lhs, Vector3DInt rhs)
friend Vector3DInt operator-(Vector3DInt lhs, const Vector3DInt &rhs)
This file contains definitions of common data structures used in traffic manager.