TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
G3D::SplineInterpolationMode Class Reference

#include <SplineExtrapolationMode.h>

Public Types

enum  Value { LINEAR, CUBIC }
 

Public Member Functions

 G3D_DECLARE_ENUM_CLASS_METHODS (SplineInterpolationMode)
 

Public Attributes

Value value
 

Static Private Member Functions

static const char * toString (int i, Value &v)
 

Detailed Description

Describes the behavior of G3D::Spline

Member Enumeration Documentation

Don't use this enum; use SplineExtrapolationMode instances instead.

Enumerator
LINEAR 
CUBIC 
65  {
66  LINEAR,
67  CUBIC
68  };
Definition: SplineExtrapolationMode.h:66
Definition: SplineExtrapolationMode.h:67

Member Function Documentation

G3D::SplineInterpolationMode::G3D_DECLARE_ENUM_CLASS_METHODS ( SplineInterpolationMode  )
static const char* G3D::SplineInterpolationMode::toString ( int  i,
Value v 
)
inlinestaticprivate
72  {
73  static const char* str[] = {"LINEAR", "CUBIC", NULL};
74  static const Value val[] = {LINEAR, CUBIC};
75  const char* s = str[i];
76  if (s) {
77  v = val[i];
78  }
79  return s;
80  }
Definition: SplineExtrapolationMode.h:66
Definition: SplineExtrapolationMode.h:67
arena_t NULL
Definition: jemalloc_internal.h:624

Member Data Documentation

Value G3D::SplineInterpolationMode::value

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