Quote:
Originally Posted by privateer
Use whatever I do as you see fit Mate.
I'm sure you'll do a better job then me!
I do have one more question if you have the time.
In the SH5 Sim, ship_color, which is in the Unit_Ship controller.
It's 3 floats to define the color.
So we see:
ship_color 00 00 00 00 00 00 00 00 00 00 00 00 00
It's a float r, float g, float b, structure.
How best to declare this so S3D understands?
|
There's no wrapper for this (new) color type. Either use a Vector3 (3 floats xyz) or define a custom 'struct' (not class!) which contains 3 floats r g b. Either works, the latter has the benefit of less confusion. Unfortunately, the built-in color editor can't be used though...