Rebel Fork Framework
NetworkValue.h File Reference
#include "../Core/Assert.h"
#include "../Math/MathDefs.h"
#include "../Math/Quaternion.h"
#include "../Replica/NetworkTime.h"
#include <EASTL/optional.h>
#include <EASTL/span.h>
#include <EASTL/vector.h>

Classes

class  Urho3D::Detail::NetworkValueBase
 Base class for NetworkValue and NetworkValueVector. More...
 
struct  Urho3D::Detail::NetworkValueBase::InterpolationBase
 
class  Urho3D::Detail::InterpolatedConstSpan< T, Traits >
 Helper class to interpolate value spans. More...
 
struct  Urho3D::ValueWithDerivative< T >
 Value with derivative, can be extrapolated. More...
 
struct  Urho3D::ValueWithDerivative< Quaternion >
 Derivative of a quaternion is angular velocity vector. More...
 
struct  Urho3D::NetworkValueTraits< T >
 
struct  Urho3D::NetworkValueTraits< Quaternion >
 
struct  Urho3D::NetworkValueTraits< ValueWithDerivative< T > >
 
struct  Urho3D::NetworkValueTraits< ValueWithDerivative< Quaternion > >
 
class  Urho3D::NetworkValue< T, Traits >
 
class  Urho3D::NetworkValueSampler< T, Traits >
 
struct  Urho3D::NetworkValueSampler< T, Traits >::InterpolationCache
 
struct  Urho3D::NetworkValueSampler< T, Traits >::TimeAndValue
 
class  Urho3D::NetworkValueVector< T, Traits >
 Similar to NetworkValue, except each frame contains an array of elements. More...
 

Functions

template<class T >
bool Urho3D::operator== (const ValueWithDerivative< T > &lhs, const T &rhs)
 
template<class T >
bool Urho3D::operator== (const T &lhs, const ValueWithDerivative< T > &rhs)
 
float Urho3D::Detail::GetDistanceSquared (float lhs, float rhs)
 
float Urho3D::Detail::GetDistanceSquared (const Vector2 &lhs, const Vector2 &rhs)
 
float Urho3D::Detail::GetDistanceSquared (const Vector3 &lhs, const Vector3 &rhs)
 
float Urho3D::Detail::GetDistanceSquared (const Quaternion &lhs, const Quaternion &rhs)
 
template<class T >
float Urho3D::Detail::GetDistanceSquared (const T &lhs, const T &rhs)
 
float Urho3D::Detail::GetDistanceSquared (float lhs, float rhs)
 
float Urho3D::Detail::GetDistanceSquared (const Vector2 &lhs, const Vector2 &rhs)
 
float Urho3D::Detail::GetDistanceSquared (const Vector3 &lhs, const Vector3 &rhs)
 
float Urho3D::Detail::GetDistanceSquared (const Quaternion &lhs, const Quaternion &rhs)
 
template<class T >
float Urho3D::Detail::GetDistanceSquared (const T &lhs, const T &rhs)
 

Function Documentation

◆ GetDistanceSquared()

float Urho3D::Detail::GetDistanceSquared ( float  lhs,
float  rhs 
)
inline

Return squared distance between points.