Autor Beitrag
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: Mi 25.06.08 18:13 
Hallo,

folgendes Problem:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
procedure TForm1.HeightField1GetHeight(const x, y: Single; var z: Single;
  var color: TVector4f; var texPoint: TTexPoint);
begin
   z:=VectorNorm(x, y);
   z:=cos(z*12)/(2*(z*6.28+1));
end;


aus dem fxy.dpr der glScene-Demos. Aber was bedeutet das VectorNorm(x, y)?
Allesquarks
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 510

Win XP Prof
Delphi 7 E
BeitragVerfasst: Mi 25.06.08 19:30 
Ohne es jetzt mit Sicherheit zu wissen! Aber norm ist hier wahrscheinlich die Länge des Vektors.