29#ifdef LIBCARLA_INCLUDED_FROM_UE4
35 static_cast<float>(v_deg_per_s.X),
36 static_cast<float>(v_deg_per_s.Y),
37 static_cast<float>(v_deg_per_s.Z)) {
43 return FVector{
x,
y,
z};
This file contains definitions of common data structures used in traffic manager.
Angular velocity in degrees per second.
constexpr AngularVelocity(const Vector3D &v)
constexpr AngularVelocity(float ix, float iy, float iz)
AngularVelocity()=default
FVector ToFVectorDegPerSecond() const
Return this AngularVelocity as an Unreal FVector in degrees per second.
AngularVelocity(const FVector &v_deg_per_s)
Build an AngularVelocity (deg/s) from an Unreal FVector already expressed in degrees per second.