Return to site

Fallout 3 mini hideout

broken image
broken image

Also, wouldn’t it be great if these functions could live together with the class they initialize like a typical constructor does? HLSL supports public classes implemented via structs, where member functions are possible. While this might be fine for a simple case, it really adds up in bigger codebases.

broken image
broken image

M圜lass CreateM圜lass(float inX, bool inB, int inI) Initializes an instance of the class via another function,