TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
HashTrait< G3D::Sphere > Struct Template Reference

#include <Sphere.h>

Static Public Member Functions

static size_t hashCode (const G3D::Sphere &key)
 

Member Function Documentation

static size_t HashTrait< G3D::Sphere >::hashCode ( const G3D::Sphere key)
inlinestatic
149  {
150  return static_cast<size_t>(key.center.hashCode() + (key.radius * 13));
151  }
float radius
Definition: Sphere.h:31
size_t hashCode() const
Definition: Vector3.cpp:155
Point3 center
Definition: Sphere.h:30

+ Here is the call graph for this function:


The documentation for this struct was generated from the following file: