Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision |
gamedev:smoothvalue [2019/05/24 23:43] – ↷ Links adapted because of a move operation dragonlord | gamedev:smoothvalue [2020/04/03 10:20] – url move dragonlord |
---|
====== Implementations ====== | ====== Implementations ====== |
The Drag[en]gine provides a couple of smooth value implementations for easy use: | The Drag[en]gine provides a couple of smooth value implementations for easy use: |
* [[http://dragengine.rptd.ch/docs/dragengine/latest/classdecSmoothFloat.html|Smooth Float]]: Smooth a single floating point value. | * [[http://developer.dragondreams.ch/docs/dragengine/latest/classdecSmoothFloat.html|Smooth Float]]: Smooth a single floating point value. |
* [[http://dragengine.rptd.ch/docs/dragengine/latest/classdecSmoothDDouble.html|Smooth Double]]: Smooth a single double precision floating point value. | * [[http://developer.dragondreams.ch/docs/dragengine/latest/classdecSmoothDDouble.html|Smooth Double]]: Smooth a single double precision floating point value. |
* [[http://dragengine.rptd.ch/docs/dragengine/latest/classdecSmoothVector.html|Smooth Vector]]: Smooth a 3-component floating point vector. The vector length between new and old values is used as value change speed. This is useful for 3D position smoothing. | * [[http://developer.dragondreams.ch/docs/dragengine/latest/classdecSmoothVector.html|Smooth Vector]]: Smooth a 3-component floating point vector. The vector length between new and old values is used as value change speed. This is useful for 3D position smoothing. |
* [[http://dragengine.rptd.ch/docs/dragengine/latest/classdecSmoothDVector.html|Smooth DVector]]: Smooth a 3-component double precision floating point vector. Same as Smooth Vector but with higher precision. | * [[http://developer.dragondreams.ch/docs/dragengine/latest/classdecSmoothDVector.html|Smooth DVector]]: Smooth a 3-component double precision floating point vector. Same as Smooth Vector but with higher precision. |
| |
====== Usage example DragonScript ====== | ====== Usage example DragonScript ====== |