Browse Source

Add hand skeleton picture;

bjorn 1 year ago
parent
commit
296b117c3f
2 changed files with 6 additions and 1 deletions
  1. 0 0
      api/init.lua
  2. 6 1
      api/lovr/headset/getSkeleton.lua

File diff suppressed because it is too large
+ 0 - 0
api/init.lua


+ 6 - 1
api/lovr/headset/getSkeleton.lua

@@ -21,7 +21,8 @@ return {
       description = [[
       description = [[
         A list of joint transforms for the device.  Each transform is a table with 3 numbers for the
         A list of joint transforms for the device.  Each transform is a table with 3 numbers for the
         position of the joint, 1 number for the joint radius (in meters), and 4 numbers for the
         position of the joint, 1 number for the joint radius (in meters), and 4 numbers for the
-        angle/axis orientation of the joint.
+        angle/axis orientation of the joint.  There is also a `radius` key with the radius of the
+        joint as well.
       ]]
       ]]
     }
     }
   },
   },
@@ -43,6 +44,10 @@ return {
     direction, pointing towards the fingertips.  The +Y direction is "up", pointing out of the back
     direction, pointing towards the fingertips.  The +Y direction is "up", pointing out of the back
     of the hand.  The +X direction is to the right, perpendicular to X and Z.
     of the hand.  The +X direction is to the right, perpendicular to X and Z.
 
 
+    Here's a picture, courtesy of Khronos Group:
+
+    ![Hand Skeleton Joints](https://lovr.org/img/hand-skeleton.png)
+
     Hand joints are returned in the following order:
     Hand joints are returned in the following order:
 
 
     <table>
     <table>

Some files were not shown because too many files changed in this diff