diff options
author | metamuffin <metamuffin@disroot.org> | 2025-02-07 15:25:00 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-02-07 15:25:00 +0100 |
commit | d7fdcfd791f011e33fb9720e7451e56410411e4f (patch) | |
tree | 7db39bb3e9d99ecba7761e8be3d7ae35b288ce2f /doc | |
parent | 92ab896339692c7dab300ad4d11a94fa03ee3ef4 (diff) | |
download | weareserver-d7fdcfd791f011e33fb9720e7451e56410411e4f.tar weareserver-d7fdcfd791f011e33fb9720e7451e56410411e4f.tar.bz2 weareserver-d7fdcfd791f011e33fb9720e7451e56410411e4f.tar.zst |
fix armature duplication
Diffstat (limited to 'doc')
-rw-r--r-- | doc/protocol.md | 2 | ||||
-rw-r--r-- | doc/resources.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/protocol.md b/doc/protocol.md index 4c05cf2..a3b8364 100644 --- a/doc/protocol.md +++ b/doc/protocol.md @@ -25,7 +25,7 @@ encoded text. 0x03 add(ob: Obj, prefab: Res<Prefab>) 0x04 remove(ob: Obj) 0x05 position(ob: Obj, pos: Vec3, rot: Vec3) -0x06 pose(ob: Obj, params: Vec<f32>) +0x06 pose(ob: Obj, params: Vec<(u16, Affine)>) 0x07 parent(parent: Obj, child: Obj) 0x08 sound(ob: Obj, data: Vec<u8>) 0x09 prefab_index(res: Res) diff --git a/doc/resources.md b/doc/resources.md index 67fca4a..344101c 100644 --- a/doc/resources.md +++ b/doc/resources.md @@ -68,7 +68,7 @@ white except normals are zero. | `va_transmission` | `Res<[Float]>` | | | `va_emission` | `Res<[Vec3]>` | | | `va_joint_weight` | `Res<[[Float; 4]]>` | | -| `va_joint_index` | `Res<[[u16; 4]]>` | | +| `va_joint_index` | `Res<[[u32; 4]]>` | | | `tex_normal` | `Res<Texture>` | Use color channels | | `tex_roughness` | `Res<Texture>` | Use green channel | | `tex_metallic` | `Res<Texture>` | Use blue channel | |