Project

General

Profile

SO3Engine
Bones

Functions

int SO3BoneListFromMesh (mmachine m)
 main include
 
int SO3GetRootBoneFromMesh (mmachine m)
 SO3GetRootBoneFromMesh : Return the root bone for a given node.
 
int SO3GetRootBonesFromMesh (mmachine m)
 SO3GetRootBonesFromMesh : Return the root bone(s) for a given node.
 
int SO3GetBoneLocalOrientation (mmachine m)
 SO3GetBoneLocalOrientation : Return the local orienation from a global quaternion.
 

Detailed Description

Scol functions definition

Function Documentation

◆ SO3BoneListFromMesh()

int SO3BoneListFromMesh ( mmachine  m)

main include

SO3BoneListFromMesh : Return the list of bones for a given node

Prototype: fun [SO3_OBJECT] [SO3_OBJECT r1]

Parameters
SO3_OBJECT: current node
Returns
[SO3_OBJECT r1] : List of bones if success , NIL otherwise

Definition at line 49 of file SCOLBones.cpp.

◆ SO3GetBoneLocalOrientation()

int SO3GetBoneLocalOrientation ( mmachine  m)

SO3GetBoneLocalOrientation : Return the local orienation from a global quaternion.

Prototype: fun [SO3_OBJECT [F F F F]] [F F F F]

Parameters
SO3_OBJECT: current bone
[FF F F] : global orientation
Returns
[F F F F] : local orientation if success , NIL otherwise

Definition at line 257 of file SCOLBones.cpp.

◆ SO3GetRootBoneFromMesh()

int SO3GetRootBoneFromMesh ( mmachine  m)

SO3GetRootBoneFromMesh : Return the root bone for a given node.

Deprecated:
Replaced with SO3GetRootBonesFromMesh function

Prototype: fun [SO3_OBJECT] SO3_OBJECT

Parameters
SO3_OBJECT: current node
Returns
SO3_OBJECT : Root bone if success , NIL otherwise

Definition at line 124 of file SCOLBones.cpp.

◆ SO3GetRootBonesFromMesh()

int SO3GetRootBonesFromMesh ( mmachine  m)

SO3GetRootBonesFromMesh : Return the root bone(s) for a given node.

Prototype: fun [SO3_OBJECT] [SO3_OBJECT r1]

Parameters
SO3_OBJECT: current node
Returns
SO3_OBJECT : Root bone(s) if success , NIL otherwise

Definition at line 182 of file SCOLBones.cpp.