Jump to content

namespace?


Rick
 Share

Recommended Posts

It's been some time since I used C++ but I'm getting back into it and did I miss something with an LE namespace addition? Also I thought I used to be able to create TVec# obejcts by passing in parameters to their ctors. I can't seem to do that anymore as it looks like they don't allow that now? I'm using Rolands C++ project creator but I assume and it looks like it's just pointing back to my LE installation folder. Were these sort of new because I don't recall the namespace and the TVec change before.

 

Nevermind about the TVec thing I see Vec4 is what I need to use. Been awhile :)

Link to comment
Share on other sites

The namespace LE was added long time ago, and it doesn't change anything for the user's game source code as it's automatically activated.

The TVec... structures and Vec... functions have been always like that.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

It's been some time since I used C++ but I'm getting back into it and did I miss something with an LE namespace addition? Also I thought I used to be able to create TVec# obejcts by passing in parameters to their ctors. I can't seem to do that anymore as it looks like they don't allow that now? I'm using Rolands C++ project creator but I assume and it looks like it's just pointing back to my LE installation folder. Were these sort of new because I don't recall the namespace and the TVec change before.

 

Nevermind about the TVec thing I see Vec4 is what I need to use. Been awhile :)

Rick. I highly recommend the Leadwerks Builder which is more up-to-date.

Roland Strålberg
Website: https://rstralberg.com

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...