-
-
Notifications
You must be signed in to change notification settings - Fork 499
Add dxDrawPrimitive3D and dxDrawMaterialPrimitive3D #760
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
Add dxDrawPrimitive3D and dxDrawMaterialPrimitive3D #760
Conversation
botder
left a comment
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.
Run the formatting tool after fixing these.
|
PR is now up to date and I cleaned up requested changes confirming if they were done or not. @CrosRoad95 See my comments, I think there's still some changes that need doing. Regarding function returns, this PR should wait for #821 to resolve. |
|
any update? |
|
|
The decision in pull request #821 (Pin down return value on failure) is now settled. |
Fixes Mantis #6064
Syntax:
dxDrawPrimitive3D( primitiveType, postGui, vertex1, vertex2, ... )where vertex is
{x,y,z}or{x,y,z,color}dxDrawMaterialPrimitive3D( primitiveType, texture, postGui, vertex1, vertex2, ... )where vertex is
{x,y,z, u, v}or{x,y,z,color, u, v}Test resource
TestResource
Example result:
Only alpha has issues when 2 rendering on top of each other 😢
https://github.com/multitheftauto/mtasa-blue/pull/760/files#diff-7950232204280a1f9935357a84b79876R80
if someone could help me fix it that would be nice, or we could do this in future