Ray

Results 367 comments of Ray

It seems this issue is very difficult to reproduce, closing it. A warning log message was added in case it happens.

@planetis-m This change modifies multiple functions and it's quite sensible, did you implement some test example to verify everything works exactly the same way? Some test cases would be really...

@planetis-m This PR changes many functions and it should be carefully tested to verify every new implementation behaves exactly like previous one. Also note that comparing float values with `==`...

**TODO: All affected functions should be properly tested and compared to current ones, in this case some unit tests would be required.** I will keep this issue open for some...

I'm closing this PR. If it requires another review in the future for functions alignment, feel free to open a new PR.

@cemalgnlts Thanks for the improvement... Please, could you review formatting to follow [raylib coding conventions](https://github.com/raysan5/raylib/blob/master/CONVENTIONS.md)?

@cemalgnlts Nice! Thank you very much for the review!

@aboeglin I'm testing the shared image and I get the following info about it, please could you confirm it is correct: ``` INFO: IMAGE: Data loaded successfully (1473x1473 | DXT5_RGBA...

Definitely the issue is related to image not being POT, I tried to resize canvas to POT and now it loads correctly. Could you test the attached file? [barbarian_scaled_to_pot.zip](https://github.com/raysan5/raylib/files/15212334/barbarian_scaled_to_pot.zip)

> Is it expected that non POT DXT compressed images can't be bound? Actually I'm not sure, I tried opening the DDS image with Paint.NET and it was able to...