Search found 2 matches
- Fri Aug 02, 2013 8:46 am
- Forum: Bug reports
- Topic: quaternion and matrix multiplication is wrong
- Replies: 1
- Views: 930
quaternion and matrix multiplication is wrong
seems that yr quaternion multiplication is wrong. i include the corrected formula inline quaternion quaternion::operator*(const quaternion& other) const { quaternion tmp; //wrong //tmp.W = (other.W * W) - (other.X * X) - (other.Y * Y) - (other.Z * Z); //tmp.X = (other.W * X) + (other.X * W) + (o...
- Wed Jul 31, 2013 7:20 am
- Forum: Beginners Help
- Topic: set sensitivity for event receiver
- Replies: 2
- Views: 298
set sensitivity for event receiver
Is there a way to set the sensitivity for the event receiver?
for example
if(receiver.IsKeyDown(irr::KEY_KEY_W))
index++;
instead of index = 1,2,3,4,5,6.....etc whenever W is press
"index" gets added multiple times.
for example
if(receiver.IsKeyDown(irr::KEY_KEY_W))
index++;
instead of index = 1,2,3,4,5,6.....etc whenever W is press
"index" gets added multiple times.