diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-25 11:15:29 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-25 11:15:29 +0200 |
commit | 34ef766c67b50b6abf4a05a77521e2393b116cca (patch) | |
tree | 3005e50fdcd82c3a9dc604fdcd89e694d5f621b8 /src/fakerw/rpskin.h | |
parent | undo (diff) | |
parent | disable mouse steering by default (diff) | |
download | re3-34ef766c67b50b6abf4a05a77521e2393b116cca.tar re3-34ef766c67b50b6abf4a05a77521e2393b116cca.tar.gz re3-34ef766c67b50b6abf4a05a77521e2393b116cca.tar.bz2 re3-34ef766c67b50b6abf4a05a77521e2393b116cca.tar.lz re3-34ef766c67b50b6abf4a05a77521e2393b116cca.tar.xz re3-34ef766c67b50b6abf4a05a77521e2393b116cca.tar.zst re3-34ef766c67b50b6abf4a05a77521e2393b116cca.zip |
Diffstat (limited to '')
-rw-r--r-- | src/fakerw/rpskin.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/fakerw/rpskin.h b/src/fakerw/rpskin.h index dd8551ae..1ffc9f27 100644 --- a/src/fakerw/rpskin.h +++ b/src/fakerw/rpskin.h @@ -2,7 +2,25 @@ #include <rphanim.h> +//struct RpSkin; +typedef rw::Skin RpSkin; + +struct RwMatrixWeights +{ + RwReal w0; + RwReal w1; + RwReal w2; + RwReal w3; +}; + RwBool RpSkinPluginAttach(void); +RwUInt32 RpSkinGetNumBones( RpSkin *skin ); +const RwMatrixWeights *RpSkinGetVertexBoneWeights( RpSkin *skin ); +const RwUInt32 *RpSkinGetVertexBoneIndices( RpSkin *skin ); +const RwMatrix *RpSkinGetSkinToBoneMatrices( RpSkin *skin ); + +RpSkin *RpSkinGeometryGetSkin( RpGeometry *geometry ); + RpAtomic *RpSkinAtomicSetHAnimHierarchy( RpAtomic *atomic, RpHAnimHierarchy *hierarchy ); RpHAnimHierarchy *RpSkinAtomicGetHAnimHierarchy( const RpAtomic *atomic ); |