by edge » Oct 2, 2007 @ 10:51am
Hi CountZero,
If you only need to scale the model at loading time, you can use the modelsize parameter of CreateSurface(). Set it to -1 to half the size, or -2 for 1/4 size.
If you need to scale the model runtime, you can use E3DSurface :: Scale. To have a 50% size model on each axis, use 32768 for all parameter values. 65536 is 100% size, 65536 / 2 is half size and 65536 * 2 is double size. When scaling each frame, don't forget to call E3DSurface :: Reset (or else it will shrink very quickly).