ffitoapi changes for new type resolve
This commit is contained in:
@@ -342,541 +342,664 @@ local api =
|
||||
["lxMatrix34GetIdentity"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(const float*)",
|
||||
valuetype = nil,
|
||||
args = "()", },
|
||||
["lxMatrix34Copy"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix34 dst, const lxMatrix34 src)", },
|
||||
["lxMatrix34Identity"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix34 mat)", },
|
||||
["lxMatrix34TMultiply44"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix34 dst, const lxMatrix44 mat1, const lxMatrix44 mat2)", },
|
||||
["lxMatrix44GetIdentity"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(const float*)",
|
||||
valuetype = nil,
|
||||
args = "()", },
|
||||
["lxMatrix44Identity"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst)", },
|
||||
["lxMatrix44Copy"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxMatrix44 src)", },
|
||||
["lxMatrix44CopyRot"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxMatrix44 src)", },
|
||||
["lxMatrix44CopyRotTransposed"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxMatrix44 src)", },
|
||||
["lxMatrix44SetTranslation"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxVector3 translation)", },
|
||||
["lxMatrix44SetInvTranslation"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxVector3 translation)", },
|
||||
["lxMatrix44SetScale"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxVector3 scale)", },
|
||||
["lxMatrix44PreScale"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxMatrix44 mat, const lxVector3 scale)", },
|
||||
["lxMatrix44GetTranslation"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(float* )",
|
||||
returns = "(float*)",
|
||||
valuetype = nil,
|
||||
args = "(const lxMatrix44 mat, lxVector3 vec)", },
|
||||
["lxMatrix44Clear"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat)", },
|
||||
["lxMatrix44ClearRot"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat)", },
|
||||
["lxMatrix44ClearTranslation"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat)", },
|
||||
["lxMatrix44VectorTransform"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxMatrix44 mat, lxVector3 v1)", },
|
||||
["lxMatrix44VectorInvTransform"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxMatrix44 mat, lxVector3 pVect)", },
|
||||
["lxMatrix44VectorRotate"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxMatrix44 mat, lxVector3 v1)", },
|
||||
["lxMatrix44VectorInvRotate"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxMatrix44 mat, lxVector3 pVect)", },
|
||||
["lxMatrix44VectorTranslate"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxMatrix44 mat, lxVector3 pVect)", },
|
||||
["lxMatrix44VectorInvTranslate"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxMatrix44 mat, lxVector3 pVect)", },
|
||||
["lxMatrix44Multiply"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxMatrix44 mat1, const lxMatrix44 mat2)", },
|
||||
["lxMatrix44Multiply1"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat1, const lxMatrix44 mat2)", },
|
||||
["lxMatrix44Multiply2"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxMatrix44 mat1, lxMatrix44 mat2)", },
|
||||
["lxMatrix44MultiplyFull"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 clip, const lxMatrix44 proj , const lxMatrix44 modl)", },
|
||||
["lxMatrix44MultiplyRot"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxMatrix44 mat1, const lxMatrix44 mat2)", },
|
||||
["lxMatrix44MultiplyRot1"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat1, const lxMatrix44 mat2)", },
|
||||
["lxMatrix44MultiplyRot2"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxMatrix44 mat1, lxMatrix44 mat2)", },
|
||||
["lxMatrix44OrthonormalizeA"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst,lxMatrix44 src)", },
|
||||
["lxMatrix44Transpose"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxMatrix44 src)", },
|
||||
["lxMatrix44Transpose1"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat)", },
|
||||
["lxMatrix44TransposeRot"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxMatrix44 src)", },
|
||||
["lxMatrix44TransposeRot1"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat)", },
|
||||
["lxMatrix44TransposeRotIdentity"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxMatrix44 src)", },
|
||||
["lxMatrix44Invert"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxMatrix44 src)", },
|
||||
["lxMatrix44Invert1"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat)", },
|
||||
["lxMatrix44AffineInvert"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 dst, const lxMatrix44 src)", },
|
||||
["lxMatrix44Orient"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat, lxVector3 forward,lxVector3 up, int axis)", },
|
||||
["lxMatrix44LookAt"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat, lxVector3 from, lxVector3 to, lxVector3 upn)", },
|
||||
["lxMatrix44FromEulerZYX"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat, const lxVector3 angles)", },
|
||||
["lxMatrix44FromEulerZYXdeg"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat, const lxVector3 angles)", },
|
||||
["lxMatrix44FromEulerXYZ"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat, lxVector3 angles)", },
|
||||
["lxMatrix44FromAngleAxis"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat, float anglerad, const lxVector3 axis)", },
|
||||
["lxMatrix44RotateAngle"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat, lxVector3 from, lxVector3 to)", },
|
||||
["lxMatrix44RotateAroundVector"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat, lxVector3 axis, float angleRad)", },
|
||||
["lxMatrix44RotateAroundPoint"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat, const lxVector3 center, const lxVector3 angles)", },
|
||||
["lxMatrix44ToEulerXYZ"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxMatrix44 mat, lxVector3 angles)", },
|
||||
["lxMatrix44ToEulerZYX"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxMatrix44 mat, lxVector3 angles)", },
|
||||
["lxMatrix44PerspectiveInf"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat, const float fov, const float front, const float aspect)", },
|
||||
["lxMatrix44PlaneProjection"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat, const lxVector3 planenormal)", },
|
||||
["lxMatrix44Reflection"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxMatrix44 mat,lxVector4 plane)", },
|
||||
["lxQuatSet"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat pV, float x, float y, float z, float w)", },
|
||||
["lxQuatCopy"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat pOut, const lxQuat pV1)", },
|
||||
["lxQuatClear"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat pOut)", },
|
||||
["lxQuatIdentity"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat pOut)", },
|
||||
["lxQuatAdd"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q, const lxQuat q1, const lxQuat q2)", },
|
||||
["lxQuatAdd1"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q1,const lxQuat q)", },
|
||||
["lxQuatSub"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q, const lxQuat q1, const lxQuat q2)", },
|
||||
["lxQuatSub1"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q,const lxQuat q1)", },
|
||||
["lxQuatScale"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat qout, const lxQuat q,const float value)", },
|
||||
["lxQuatMul"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q,const lxQuat q2,const lxQuat q1)", },
|
||||
["lxQuatMul1"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q2,const lxQuat q1)", },
|
||||
["lxQuatMul2"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxQuat q2,lxQuat q1)", },
|
||||
["lxQuatToMatrix"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxQuat q,lxMatrix44 a_mat)", },
|
||||
["lxQuatToMatrixIdentity"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxQuat q,lxMatrix44 a_mat)", },
|
||||
["lxQuatFromMatrix"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q1,const lxMatrix44 in_mat)", },
|
||||
["lxQuatToRotationAxis"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxQuat q,float *degrees, lxVector3 a)", },
|
||||
["lxQuatFromRotationAxis"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q,const float angle, const lxVector3 a)", },
|
||||
["lxQuatFromEuler"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q, float x, float y, float z)", },
|
||||
["lxQuatFromEulerXYZ"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q, const lxVector3 vec)", },
|
||||
["lxQuatTransformVector"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxQuat q, const lxVector3 v, lxVector3 out)", },
|
||||
["lxQuatLength"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(float)",
|
||||
valuetype = nil,
|
||||
args = "(const lxQuat q)", },
|
||||
["lxQuatLengthSqr"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(float)",
|
||||
valuetype = nil,
|
||||
args = "(const lxQuat q)", },
|
||||
["lxQuatDot"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(float)",
|
||||
valuetype = nil,
|
||||
args = "(const lxQuat q,const lxQuat q2)", },
|
||||
["lxQuatNormalized"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q)", },
|
||||
["lxQuatInverted"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q)", },
|
||||
["lxQuatConjugate"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q1, const lxQuat q2)", },
|
||||
["lxQuatNaturalLog"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q1, const lxQuat q)", },
|
||||
["lxQuatExponent"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q1,const lxQuat q)", },
|
||||
["lxQuatSlerp"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q,const float t, const lxQuat q1, const lxQuat q2)", },
|
||||
["lxQuatSlerpLongest"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q,const float t, const lxQuat q1, const lxQuat q2)", },
|
||||
["lxQuatSlerpQuadratic"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q,const float t, const lxQuat q1, const lxQuat q2, const lxQuat q3, const lxQuat q4)", },
|
||||
["lxQuatSlerpQuadTangents"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat qout,float t, const lxQuat q1, const lxQuat q2, const lxQuat q3, const lxQuat q4)", },
|
||||
["lxQuatGetBarycentric"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat q,float f, float g, const lxQuat q1, const lxQuat q2, const lxQuat q3)", },
|
||||
["lxQuatSwizzle"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxQuat out, uint axis[3], lxVector3 dirs)", },
|
||||
["lxFrustum_update"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxFrustum_t* frustum, const lxMatrix44 viewproj)", },
|
||||
["lxFrustum_checkPointCoherent"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(booln )",
|
||||
returns = "(booln)",
|
||||
valuetype = nil,
|
||||
args = "(const lxFrustum_t* frustum, const lxVector3 vec, int *clipplane)", },
|
||||
["lxFrustum_checkSphereCoherent"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(booln )",
|
||||
returns = "(booln)",
|
||||
valuetype = nil,
|
||||
args = "(const lxFrustum_t* frustum, const lxVector3 center, const float radius,int *clipplane)", },
|
||||
["lxFrustum_checkSphereFull"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(booln )",
|
||||
returns = "(booln)",
|
||||
valuetype = nil,
|
||||
args = "(const lxFrustum_t* frustum, const lxVector3 center, const float radius)", },
|
||||
["lxFrustum_checkAABBvCoherent"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(booln )",
|
||||
returns = "(booln)",
|
||||
valuetype = nil,
|
||||
args = "(const lxFrustum_t* frustum, const float minmaxs[6], int *clipplane)", },
|
||||
["lxFrustum_cullAABBvMaskedCoherent"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(lxCullType_t )",
|
||||
returns = "(lxCullType_t)",
|
||||
valuetype = nil,
|
||||
args = "(const lxFrustum_t* pFrustum, const float minmax[6], int in_mask, int *out_mask, int *inoutstart_id)", },
|
||||
["lxFrustum_cullPoints"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(lxCullType_t )",
|
||||
returns = "(lxCullType_t)",
|
||||
valuetype = nil,
|
||||
args = "(const lxFrustum_t* frustum, const lxVector4 *vecarray, const int numVec)", },
|
||||
["lxFrustum_cullAABBv"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(lxCullType_t )",
|
||||
returns = "(lxCullType_t)",
|
||||
valuetype = nil,
|
||||
args = "(const lxFrustum_t* frustum, const float minmaxs[6])", },
|
||||
["lxFrustum_getCorners"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxFrustum_t* frustum, lxVector3 box[LUX_FRUSTUM_CORNERS])", },
|
||||
["lxFrustum_fromCorners"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxFrustum_t* frustum, const lxVector3 box[LUX_FRUSTUM_CORNERS])", },
|
||||
["lxFrustum_updateSigns"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxFrustum_t* frustum)", },
|
||||
["lxMinMax_intersectsV"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(booln)",
|
||||
valuetype = nil,
|
||||
args = "(float selfminmax[6], float otherminmax[6])", },
|
||||
["lxBoundingBox_init"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxBoundingBox_t* box)", },
|
||||
["lxBoundingBox_complete"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxBoundingBox_t* box, booln fromMinMax)", },
|
||||
["lxBoundingBox_copy"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(lxBoundingBox_t*)",
|
||||
valuetype = "lxm.lxBoundingBox_t",
|
||||
args = "(lxBoundingBox_t* out, lxBoundingBox_t* in)", },
|
||||
["lxBoundingSphere_copy"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(lxBoundingSphere_t*)",
|
||||
valuetype = "lxm.lxBoundingSphere_t",
|
||||
args = "(lxBoundingSphere_t* out, const lxBoundingSphere_t* in)", },
|
||||
["lxBoundingBox_merge"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(lxBoundingBox_t* )",
|
||||
returns = "(lxBoundingBox_t*)",
|
||||
valuetype = "lxm.lxBoundingBox_t",
|
||||
args = "(lxBoundingBox_t* out, lxBoundingBox_t* a, lxBoundingBox_t* b)", },
|
||||
["lxBoundingBox_mergeChange"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(booln)",
|
||||
valuetype = nil,
|
||||
args = "(lxBoundingBox_t* out, lxBoundingBox_t* a, lxBoundingBox_t* b)", },
|
||||
["lxBoundingSphere_mergeChange"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(booln)",
|
||||
valuetype = nil,
|
||||
args = "(lxBoundingSphere_t* out, const lxBoundingSphere_t* a, const lxBoundingSphere_t* b)", },
|
||||
["lxBoundingBox_toSphere"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(lxBoundingSphere_t*)",
|
||||
valuetype = "lxm.lxBoundingSphere_t",
|
||||
args = "(lxBoundingBox_t* bbox, lxBoundingSphere_t* sphere)", },
|
||||
["lxBoundingBox_toSphereV"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxVector3 min,const lxVector3 max, lxVector3 center, float *radius)", },
|
||||
["lxBoundingBox_toCapsule"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(lxBoundingCapsule_t*)",
|
||||
valuetype = "lxm.lxBoundingCapsule_t",
|
||||
args = "(lxBoundingBox_t* bbox,lxBoundingCapsule_t* capsule)", },
|
||||
["lxBoundingBox_transform"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(lxBoundingBox_t*)",
|
||||
valuetype = "lxm.lxBoundingBox_t",
|
||||
args = "(lxBoundingBox_t* out, lxBoundingBox_t* in, lxMatrix44 trans)", },
|
||||
["lxBoundingBox_transformBoxCorners"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(const lxBoundingBox_t* in, const lxMatrix44 trans, lxVector3 box[8])", },
|
||||
["lxBoundingBox_transformV"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxVector3 outmins, lxVector3 outmaxs,lxVector3 mins, lxVector3 maxs, lxMatrix44 trans)", },
|
||||
["lxBoundingBox_fromCorners"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxBoundingBox_t* bbox,const lxVector3 vecs[8])", },
|
||||
["lxBoundingVectors_fromCamera"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxVector3 vecs[8],const lxMatrix44 mat,const float fov, const float frontplane, const float backplane, const float aspect)", },
|
||||
["lxBoundingBox_intersect"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(booln)",
|
||||
valuetype = nil,
|
||||
args = "(const lxBoundingBox_t* a,const lxBoundingBox_t* b)", },
|
||||
["lxBoundingBox_checkPoint"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(booln)",
|
||||
valuetype = nil,
|
||||
args = "(const lxBoundingBox_t* out,const lxVector3 point)", },
|
||||
["lxBoundingCone_checkSphereV"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(booln)",
|
||||
valuetype = nil,
|
||||
args = "(lxBoundingCone_t* cone,lxVector3 center, float radius, float radiusSqr)", },
|
||||
["lxBoundingSphereCone_fromCamera"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxBoundingSphere_t* sphere, lxBoundingCone_t* cone,float frontplane, float backplane, lxVector3 pos, lxVector3 dir, float fov)", },
|
||||
["lxBoundingCone_fromFrustumCorners"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxBoundingCone_t* cone, lxVector3 box[LUX_FRUSTUM_CORNERS])", },
|
||||
["lxBoundingSphere_fromFrustumCorners"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxBoundingSphere_t* sphere,lxVector3 box[LUX_FRUSTUM_CORNERS])", },
|
||||
["lxPlaneSet"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxPlane plane, const lxVector3 a, const lxVector3 b, const lxVector3 c)", },
|
||||
["lxPlaneIntersect"] = { type ='function',
|
||||
description = "",
|
||||
returns = "()",
|
||||
valuetype = nil,
|
||||
args = "(lxVector3 out, const lxPlane planea,const lxPlane planeb,const lxPlane planec)", },
|
||||
["lxTriangleArea"] = { type ='function',
|
||||
description = "",
|
||||
returns = "(float)",
|
||||
valuetype = nil,
|
||||
args = "(const lxVector3 v0, const lxVector3 v1, const lxVector3 v2)", },
|
||||
["lxFrustumPlane_t"] = { type ='class',
|
||||
description = "",
|
||||
childs = {
|
||||
["pvec"] = { type ='value', description = "lxPlane", valuetype = "lxPlane", },
|
||||
["pvec"] = { type ='value', description = "lxPlane", valuetype = nil, },
|
||||
}
|
||||
},
|
||||
["lxFrustum_t"] = { type ='class',
|
||||
description = "",
|
||||
childs = {
|
||||
["fplanes"] = { type ='value', description = "lxFrustumPlane_t[LUX_FRUSTUM_PLANES]", valuetype = "lxFrustumPlane_t[]", },
|
||||
["fplanes"] = { type ='value', description = "lxFrustumPlane_t[LUX_FRUSTUM_PLANES]", valuetype = "lxm.lxFrustumPlane_t", },
|
||||
}
|
||||
},
|
||||
["lxBoundingBox_t"] = { type ='class',
|
||||
description = "",
|
||||
childs = {
|
||||
["min"] = { type ='value', description = "lxVector3", valuetype = "lxVector3", },
|
||||
["max"] = { type ='value', description = "lxVector3", valuetype = "lxVector3", },
|
||||
["center"] = { type ='value', description = "lxVector3", valuetype = "lxVector3", },
|
||||
["length"] = { type ='value', description = "lxVector3", valuetype = "lxVector3", },
|
||||
["min"] = { type ='value', description = "lxVector3", valuetype = nil, },
|
||||
["max"] = { type ='value', description = "lxVector3", valuetype = nil, },
|
||||
["center"] = { type ='value', description = "lxVector3", valuetype = nil, },
|
||||
["length"] = { type ='value', description = "lxVector3", valuetype = nil, },
|
||||
}
|
||||
},
|
||||
["lxBoundingSphere_t"] = { type ='class',
|
||||
description = "",
|
||||
childs = {
|
||||
["center"] = { type ='value', description = "lxVector3", valuetype = "lxVector3", },
|
||||
["radius"] = { type ='value', description = "float", valuetype = "float", },
|
||||
["radiusSqr"] = { type ='value', description = "float", valuetype = "float", },
|
||||
["center"] = { type ='value', description = "lxVector3", valuetype = nil, },
|
||||
["radius"] = { type ='value', description = "float", valuetype = nil, },
|
||||
["radiusSqr"] = { type ='value', description = "float", valuetype = nil, },
|
||||
}
|
||||
},
|
||||
["lxBoundingCone_t"] = { type ='class',
|
||||
description = "",
|
||||
childs = {
|
||||
["top"] = { type ='value', description = "lxVector3", valuetype = "lxVector3", },
|
||||
["axis"] = { type ='value', description = "lxVector3", valuetype = "lxVector3", },
|
||||
["sinDiv"] = { type ='value', description = "float", valuetype = "float", },
|
||||
["sinSqr"] = { type ='value', description = "float", valuetype = "float", },
|
||||
["cosSqr"] = { type ='value', description = "float", valuetype = "float", },
|
||||
["top"] = { type ='value', description = "lxVector3", valuetype = nil, },
|
||||
["axis"] = { type ='value', description = "lxVector3", valuetype = nil, },
|
||||
["sinDiv"] = { type ='value', description = "float", valuetype = nil, },
|
||||
["sinSqr"] = { type ='value', description = "float", valuetype = nil, },
|
||||
["cosSqr"] = { type ='value', description = "float", valuetype = nil, },
|
||||
}
|
||||
},
|
||||
["lxBoundingCapsule_t"] = { type ='class',
|
||||
description = "",
|
||||
childs = {
|
||||
["origin"] = { type ='value', description = "lxVector3", valuetype = "lxVector3", },
|
||||
["toEnd"] = { type ='value', description = "lxVector3", valuetype = "lxVector3", },
|
||||
["radius"] = { type ='value', description = "float", valuetype = "float", },
|
||||
["radiusSqr"] = { type ='value', description = "float", valuetype = "float", },
|
||||
["origin"] = { type ='value', description = "lxVector3", valuetype = nil, },
|
||||
["toEnd"] = { type ='value', description = "lxVector3", valuetype = nil, },
|
||||
["radius"] = { type ='value', description = "float", valuetype = nil, },
|
||||
["radiusSqr"] = { type ='value', description = "float", valuetype = nil, },
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user