15.01.2011, 14:34
Quote:
Thanks for the explanation ******, I wasn't aware that is how enumeration was handled, now it's making a lot more sense, I should've looked into this before replying with invalid information. Apologies for that RSX.
|
vector[b][23] which is then actually vector[b+23] which in my opinion as in C then becomes *(vector+b+23) And this function is too pretty useful I guess, as you could make something like this :
pawn Код:
enum _:Coords{
Float:pX, Float:pY, Float:pZ, Float:rX, Float:rY, Float:rZ
};
enum _:ABC{
PosRot[Coords],
a[32],
b[32]
};
main(){
new Complex[ABC];
Complex[PosRot][pY]=10.0;
}