Error in w member during vkVec4*float operation

(1 post) (1 voice)
  • Started 9 months ago by strangeattractor

Tags:

No tags yet.

  1. strangeattractor

    member
    Joined: Mar '10
    Posts: 47

    Hi there,

    I'd like to point a bug out during a vkVec4 multiplication by a float, can be reproduced this way (Studio Pro 64), vkVec4 test2 below is not correct:

    float f=0.1;
    vkVec4 test1(0.001,0.001,0.001,0.001);
    vkVec4 test2 = test1*f;
    // test2.w=0.0, other values correct (0.0001)
    vkVec4 test3 = test1;
    test3 *= f;
    // test3.w correct

    Posted 9 months ago #

Reply

You must log in to post.