Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
gamedev:smoothvalue [2019/05/24 23:43] – ↷ Links adapted because of a move operation dragonlord | gamedev:smoothvalue [2024/03/14 16:45] (current) – 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. | * #@LinkApiDocDE2_HTML~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. | * #@LinkApiDocDE2_HTML~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. | * #@LinkApiDocDE2_HTML~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. | * #@LinkApiDocDE2_HTML~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 ====== |