VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtEaser.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvUtil/vrvUtil.h>
12 
13 namespace makVrv
14 {
18  {
19  public:
23  DtEaser(float x1, float y1, float x2, float y2);
25  virtual ~DtEaser();
26 
28  float get(float atX);
29 
30  protected:
31  float calcBezier(float aT, float ax1, float ax2);
32  float getSlope(float at, float a1, float a2);
33  float getTforX(float x);
34 
35  float myX1;
36  float myY1;
37  float myX2;
38  float myY2;
39  };
40 
41 
42 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)