My Building Escape after Reducing Code in “Hot Loops” lecture

Hi There!!

In this lecture, we tidy up our code.

VS Code-

C file-

C++ file-

First, Large blocks of code are moved into different functions. Now, I’ve removed the debug line but still kept the line trace to I’ll get what I’m hitting. If I hit something then I will get the name multiple times, but that’ll give me only once.

UE Editor-

If I right-click on any object having a physics body then the function will return it to me.

Previous post: My Building Escape after Using Accessors & Memory Layout lecture

Thanks for reading,
BYE!!Preformatted text

1 Like

Do you know you can paste code in and then use < / > icon to format it. This puts it inside a scrolling box and would be easier to read and also faster than images.

1 Like

Oh, I didn’t knew that. I’ll do that from now.

Privacy & Terms