Semplice: stampare su un file due incognite X e Y

venerdì 06 luglio 2007 - 11.47

mattur Profilo | Newbie

Salve a tutti
molto probabilmente per tanti la mia domanda è molto semplice ma adesso ho un blocco e devo un attimo prendermi.

Codice:

private void tetClientEvents_OnGazeData(ref TetGazeData gazeData) { float x, y, distance; // Use data only if both left and right eye was found by the eye tracker if (gazeData.validity_lefteye == 0 && gazeData.validity_righteye == 0) { // Let the x, y and distance be the right and left eye average x = (gazeData.x_gazepos_lefteye + gazeData.x_gazepos_righteye) / 2; y = (gazeData.y_gazepos_lefteye + gazeData.y_gazepos_righteye) / 2; distance = (gazeData.distance_lefteye + gazeData.distance_righteye) / 2;

Dal codice mostrto sopra io devo stampare x e y, come faccio?

Grazie
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5