Skip to main content
Inspiring
July 30, 2013
Question

Bug with Init method in AIRealMatrix

  • July 30, 2013
  • 0 replies
  • 482 views

Hi

In the CC SDK, a Init method was added to the AIRealMatrix structure. Unfortunately the init method seems incorrect. The current code is :

void Init()

          {

                    a = 0.0; b = 1.0;

                    c = 1.0; d = 0.0;

                    tx = 0.0; ty = 0.0;

          }

I think a and d must be equal to 1 and not b and c which must be equal to 0

This topic has been closed for replies.