-
Notifications
You must be signed in to change notification settings - Fork 38
xMath3_WIP #410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xMath3_WIP #410
Conversation
… and StatforNPC. Also have outline for ClearActive in comments.
…d en_SM_NOTICES to zNPCTypeCommon to avoid recursive include.
…Spawner instead of transitively via zNPCTypeCommon.
…r to import into xMath3.
…y are defined there.
…3x3Identity because they were already specified in xClimate.cpp. Added declarations for them in xClimate.h and moved an import in zNPCGlyp.cpp.
…3Copy will eventually be moved to xMath3 most likely.
…cpp. For other uses in game, use from xMath3, hence uncommenting.
src/SB/Core/x/xMath3.h
Outdated
| void xBoxFromLine(xBox& box, const xLine3& line); | ||
| void xBoxFromRay(xBox& box, const xRay3& ray); | ||
| void xMat3x3Identity(xMat3x3* matrix); | ||
| void xMat3x3Identity(xMat3x3* matrix); // May come from xClimate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit of a nit I know, but can you remove these comments (or at least reword them somehow). They don't really "come from" xClimate, but rather would have been defined here directly in this header file and just by chance the definition in xClimate's translation unit ended up being the one that the linker chose to use (maybe it was the first/last usage or something like that).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to leave a comment about this I would probably say something like
// TODO: These functions should be inline
Groundwork for xMath3.