Log In  

Simple 2D vector class and bouncing ball demo

Cart #vec_ball-0 | 2022-02-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#106707 2022-02-11 12:44

Always believe there is a different way to figure something out, @mosm.

Cart #bouncer-0 | 2022-02-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Probably not as good as yours but very close and in clearly smaller coding space.

P#106760 2022-02-12 03:55 ( Edited 2022-02-12 04:08)

@dw817 I know, I know. My main point is the vector class, and I just thought it needs some accompanying demo. I should come up with a better demo utilizing the functionality of the class.

P#106762 2022-02-12 04:03

Well that's fine, @mosm. Sometimes I see someone do something, then look at the code, then get curious to know if I can do it - in my own uninimitable way.

I thought maybe you were getting bogged down by mathematical details which can happen to programmers sometimes.

Looking forward to seeing future carts from you.

P#106764 2022-02-12 04:07 ( Edited 2022-02-12 04:19)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-20 07:11:11 | 0.079s | Q:26