Open the Project Settings. First make sure the correct project and build configuration are selected. Then select the C/C++ tab and the Optimizations category. You should have "Maximize Speed" selected, and make sure the inline function expansion is not disabled. You may want to try changing it from "Only __inline" to "Any Suitable". Visual Studio 6.0 also has some pragmas that affect function inlining, but I'm not sure if they help at all. They are:
#pragma auto_inline( [{on | off}] )#pragma inline_depth( [0... 255] )#pragma inline_recursion( [{on | off}] )
Aside from that, try using an array of POINT3D objects like I suggested earlier. This will let you know if the compiler is making unfair optimizations based on the fact that the data isn't changing.
Oh, and click on the tiny "faq" link near the top-right corner of the page to find out how to create those source code boxes.