VR-Forces Developer's Guide
Home
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvUtil
DtEaser.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <
vrvUtil/vrvUtil.h
>
12
13
namespace
makVrv
14
{
17
class
DT_DLL_VRVUTIL
DtEaser
18
{
19
public
:
23
DtEaser
(
float
x1,
float
y1,
float
x2,
float
y2);
25
virtual
~
DtEaser
();
26
29
float
getEasedValue(
float
atX);
30
31
protected
:
32
float
calcBezier(
float
aT,
float
ax1,
float
ax2);
33
float
getSlope(
float
at,
float
a1,
float
a2);
34
float
getTforX(
float
x);
35
36
float
myX1
;
37
float
myY1
;
38
float
myX2
;
39
float
myY2
;
40
};
41
}
DT_DLL_VRVUTIL
#define DT_DLL_VRVUTIL
Definition:
vrvUtil.h:34
vrvUtil.h
Contains DLL export macros.
makVrv::DtEaser
The easer class DtEaser return values along a bezier curve between input point 1 and point 2...
Definition:
DtEaser.h:17
makVrv::DtEaser::myY1
float myY1
Definition:
DtEaser.h:37
makVrv::DtEaser::myX1
float myX1
Definition:
DtEaser.h:36
makVrv::DtEaser::myY2
float myY2
Definition:
DtEaser.h:39
makVrv::DtEaser::myX2
float myX2
Definition:
DtEaser.h:38
Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (
www.mak.com
)