37 lines
1013 B
C++
37 lines
1013 B
C++
// Filename: mathNumbers.h
|
|
// Created by: mike (23Jan99)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// PANDA 3D SOFTWARE
|
|
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
|
|
//
|
|
// All use of this software is subject to the terms of the Panda 3d
|
|
// Software license. You should have received a copy of this license
|
|
// along with this source code; you will also find a current copy of
|
|
// the license at http://www.panda3d.org/license.txt .
|
|
//
|
|
// To contact the maintainers of this program write to
|
|
// panda3d@yahoogroups.com .
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
#ifndef MATHNUMBERS_H
|
|
#define MATHNUMBERS_H
|
|
|
|
#include <pandabase.h>
|
|
|
|
class EXPCL_PANDA MathNumbers {
|
|
PUBLISHED:
|
|
static const float pi_f;
|
|
static const float rad_2_deg_f;
|
|
static const float deg_2_rad_f;
|
|
static const float ln2_f;
|
|
|
|
static const double pi;
|
|
static const double ln2;
|
|
static const double rad_2_deg;
|
|
static const double deg_2_rad;
|
|
};
|
|
|
|
#endif
|