Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / copy matrix4 - big problem

Author
Message
Neuro Fuzzy
19
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 23rd Mar 2011 07:24
The command is this:

COPY MATRIX4 Matrix4Result, Matrix4Source

However, it does not take the matrix from "source" and put it in "result", it takes the matrix from "result" and places it in "source"!

I don't know if this should go in bug reports, but I think it's important enough to make a thread about. Maybe it could be changed in the next release? I mean, DBPro 3d math code is obfuscated enough when you're still learning. If commands like "rotate matrix4" use radians, and "copy matrix4" switches up "result" and "source", that makes stuff a lot more confusing, especially since the docs don't document any of these quirks :\

teh proof:


Booma
17
Years of Service
User Offline
Joined: 29th Mar 2009
Location:
Posted: 23rd Mar 2011 15:02 Edited at: 23rd Mar 2011 15:04
Yes, at a help file there is an error. It is necessary to transfer this topic to the bug section

Login to post a reply

Server time is: 2026-07-17 08:12:37
Your offset time is: 2026-07-17 08:12:37