mirror of
https://github.com/AntonioND/dsma-library.git
synced 2025-06-18 08:35:32 -04:00
docs: Update readme with missing function prototype
This commit is contained in:
parent
fb42252e30
commit
5988ef1eb6
15
readme.rst
15
readme.rst
@ -169,13 +169,13 @@ The options supported are:
|
||||
Displaying models on the NDS
|
||||
----------------------------
|
||||
|
||||
The library only has two functions:
|
||||
The library only has three functions:
|
||||
|
||||
- ``uint32_t DSMA_GetNumFrames(const void *dsa_file)``
|
||||
- ``DSMA_GetNumFrames()``
|
||||
|
||||
Returns the number of frames of the animation in a DSA file.
|
||||
|
||||
- ``int DSMA_DrawModel(const void *dsm_file, const void *dsa_file, uint32_t frame_interp)``
|
||||
- ``DSMA_DrawModel()``
|
||||
|
||||
Draws the model in a DSM file with the animation in a DSA file.
|
||||
|
||||
@ -183,6 +183,15 @@ The library only has two functions:
|
||||
If the frame is an integer value there is no interpolation between frames. If
|
||||
the frame value is between frames the function will interpolate between them.
|
||||
|
||||
- ``DSMA_DrawModelBlendAnimation()``
|
||||
|
||||
Draws the model in the DSM file animated with the data in the specified DSA
|
||||
files, at the requested frame, with the requested blending factor between the
|
||||
two animations.
|
||||
|
||||
This allows you to merge two animations while you're switching from one to the
|
||||
other one, for example.
|
||||
|
||||
Future work
|
||||
-----------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user