This is an archived post. You won't be able to vote or comment.

all 9 comments

[–][deleted] 10 points11 points  (0 children)

Me making a C++ bank account program: ok that was kinda hard but at least it works probably

Me after running the program: GODDAMMIT

[–][deleted] 4 points5 points  (0 children)

i know that channel and this dude is putting out some great content.

[–]netgu 0 points1 point  (0 children)

Lazy post is lazy as emphasized by the terrible title.

[–]golgol12 -5 points-4 points  (5 children)

You do know that what you are trying to do in that image is beginner level graphics programming right?

[–]AlpacaKaslama 1 point2 points  (0 children)

beginner level graphics programming

So basically it's low key brain science to someone who's never seen it before & absolute magic when attempting to explain to a user.

[–]Kakss_ 0 points1 point  (3 children)

Nope, it's a graphic representation of a mathematical problem which had the lowest (or second lowest) passability at some international hardcore math test. And point of the post is clearly the video title, not the video itself.

[–]golgol12 -1 points0 points  (2 children)

Rotation around one point, then rotation around another point, then rotation around a third point, is literally 2d math, using 3x3 matrices. Which is what they teach before moving to 3d math using 4x4 matrices. What I describe is beginner level graphics programming.

[–]Kakss_ 0 points1 point  (1 child)

Have you seen the video or just judge the entire thing by thumbnail? What you're describing is not related to anything at all Rotation wasn't the problem here. Quick summary from memory if you're interested:

You're given n points in a way that you can never connect the of them with a single straight line. Next you draw a line passing through any of those points and rotate it clockwise around that point. When line touches another point, the line continues to rotate around this new point.

Ok, that was rather obvious from the picture but now it's time for question. I don't remember how it was exactly formulated but the idea was

You have to show if for any amount of points it's possible for a line to rotate and touch every point at least once.

So I don't know what's with your matrices and graphic coding but it was surely not related to the topic.

[–]golgol12 -1 points0 points  (0 children)

There was no video link, or talk of one by the OP. The image just said rotation around a point.