cg VC++ 透视上色源码开源!
**** Hidden Message *****cg VC++ 透视上色源码开源! [ 感谢分享!!!! public Vector2 GetBoneScreenPos(IntPtr entityBase, int index)
{
IntPtr boneMatrixPtr = Memory.ReadIntPtr(eBase + Offset.BoneMatrix);
Matrix boneMatrix = Memory.Read<Matrix>(boneMatrixPtr + (0x30 * index));
Vector3 boneWorldPos = new Vector3(boneMatrix.M14, boneMatrix.M24, boneMatrix.M34);
Vector2 boneScreenPos = WorldToScreen(viewMatrix, boneWorldPos);
return boneScreenPos;
}
感谢 源码 学习一下
感谢 源码 学习一下
cg VC++ 透视上色源码开源! [ 感谢分享!!!!
