Added KrSetNodeWorldTransform API Call stub function

This commit is contained in:
2020-06-29 21:09:42 -07:00
parent 7634d98641
commit a713c8273a
2 changed files with 18 additions and 9 deletions

View File

@@ -119,6 +119,22 @@ KrResult KrFindAdjacentNodes(const KrFindAdjacentNodesInfo* pFindAdjacentNodesIn
return KR_ERROR_NOT_IMPLEMENTED;
}
KrResult KrSetNodeLocalTransform(const KrSetNodeLocalTransformInfo* pSetNodeLocalTransform)
{
if (!sContext) {
return KR_ERROR_NOT_INITIALIZED;
}
return KR_ERROR_NOT_IMPLEMENTED;
}
KrResult KrSetNodeWorldTransform(const KrSetNodeWorldTransformInfo* pSetNodeWorldTransform)
{
if (!sContext) {
return KR_ERROR_NOT_INITIALIZED;
}
return KR_ERROR_NOT_IMPLEMENTED;
}
KrResult KrDeleteNode(const KrDeleteNodeInfo* pDeleteNodeInfo)
{
if (!sContext) {
@@ -175,14 +191,6 @@ KrResult KrUpdateNode(const KrUpdateNodeInfo* pUpdateNodeInfo)
return KR_ERROR_NOT_IMPLEMENTED;
}
KrResult KrSetNodeLocalTransform(const KrSetNodeLocalTransformInfo* pSetNodeLocalTransformInfo)
{
if (!sContext) {
return KR_ERROR_NOT_INITIALIZED;
}
return KR_ERROR_NOT_IMPLEMENTED;
}
KrResult KrInitNodeInfo(KrNodeInfo* pNodeInfo, KrStructureType nodeType)
{
pNodeInfo->sType = nodeType;

View File

@@ -371,6 +371,8 @@ KrResult KrInitNodeInfo(KrNodeInfo* pNodeInfo, KrStructureType nodeType);
KrResult KrCreateScene(const KrCreateSceneInfo* pCreateSceneInfo);
KrResult KrFindNodeByName(const KrFindNodeByNameInfo* pFindNodeByNameInfo);
KrResult KrFindAdjacentNodes(const KrFindAdjacentNodesInfo* pFindAdjacentNodesInfo);
KrResult KrSetNodeLocalTransform(const KrSetNodeLocalTransformInfo* pSetNodeLocalTransform);
KrResult KrSetNodeWorldTransform(const KrSetNodeWorldTransformInfo* pSetNodeWorldTransform);
KrResult KrDeleteNode(const KrDeleteNodeInfo* pDeleteNodeInfo);
KrResult KrDeleteNodeChildren(const KrDeleteNodeChildrenInfo* pDeleteNodeChildrenInfo);
KrResult KrAppendBeforeNode(const KrAppendBeforeNodeInfo* pAppendBeforeNodeInfo);
@@ -378,6 +380,5 @@ KrResult KrAppendAfterNode(const KrAppendAfterNodeInfo* pAppendAfterNodeInfo);
KrResult KrAppendFirstChildNode(const KrAppendFirstChildNodeInfo* pAppendFirstChildNodeInfo);
KrResult KrAppendLastChildNode(const KrAppendLastChildNodeInfo* pAppendLastChildNodeInfo);
KrResult KrUpdateNode(const KrUpdateNodeInfo* pUpdateNodeInfo);
KrResult KrSetNodeLocalTransform(const KrSetNodeLocalTransformInfo* pSetNodeLocalTransformInfo);
#endif // KRAKEN_H