Link

Namespace

Every API class in the engine starts with the prefix U4D. For example,

U4DVector3n 
U4DMatrix4n
U4DCamera

The Untold Game Engine namespace is:

U4DEngine

Thus, if you want to use any of the API classes in your game, you need to specify the namespace of the engine as follows:

void MyClass::init(){

	U4DEngine::U4DVector3n vec(1.0,0.0,0.0);

}

I understand that it is tedious to specify the namespace every time you need to create an instance of a class that belongs to the API. Nonetheless, I strongly suggest that you do.

However, if you are tired of writing the namespace, you can bypass this requirement by specifying using namespace U4DEngine at the start of your code, as shown below:

using namespace U4DEngine;

void MyClass::init(){

	U4DVector3n vec(1.0,0.0,0.0);

}