Waitrud Weber’s blog

things and reminders for memories

3d: windows-make: the point is centered.

vCalculation::subtract:111 starts.
|0028FE04|0028FE08|0028FE0C|
|999.422607|999.422607|-999.422607|1038.488770|699.077576|-1260.701538|
|0028FE04|0028FE08|0028FE0C|
|0028FE04|=-39.066162 |0028FE08|=300.345032 |0028FE0C|=261.278931
vCalculation::subtract:111 ends.
int vCalculation::subtract ends and set |0028FE54| return 0.
result_001 = p|0028FE54|( -39.066162, 300.345032, 261.278931)
001 x, y = 204800.000000 , 115199.979225
002 x, y = 320.000000 , 239.999951
003 x, y = 320.000000 , 240.000046 height 480.000000
get_cooordinate_on_screen ends. 001
get_cooordinate_on_screen ends. 002 OtherSide=0
 x, y = 320.000000, 240.000046 a is other side 0
v3dCalculation:: calculation_thread_019 () ends.
main ends.
---

 

//
int v3dCalculation::calculation_thread_019() {
	int a;
	float x, y;
	static vPoint p1( 50.0f, 50.0f, -50.0f );

	printf("v3dCalculation:: calculation_thread_019 () startss.\r\n");

	a = display_threeD_screen_initialize ();
	a = get_cooordinate_on_screen ( p1, &x, &y );

	printf(" x, y = %f, %f a is other side %d\r\n", x, y, a );

	printf("v3dCalculation:: calculation_thread_019 () ends.\r\n");
	return 1;
}