Skip to content
Menu

VIS-All 3D Handbuch

VIS-All 3D Handbuch

VIS-All® 3D Handbuch

Logische Operatoren

image_print

Syntax

Beispiel

Beschreibung

and B;

if( fDistance > 10.0 and bShouldRotate ) fAngle += 0.001;

Diese Anweisung ergibt true ( wahr ) nur, falls A und B wahr sind.

or B;

if( fDistance > 10.0 or bShouldRotate ) fAngle += 0.001;

Diese Anweisung ergibt true ( wahr ) , falls A oder B wahr ist.