traingle rotation angles

Blitz3D Forums/Blitz3D Programming/traingle rotation angles

doesnt seem to work...
		Local x = PickedX()
		Local y = PickedY()
		Local z = PickedZ()
		PositionEntity portal1,x,y,z
		AlignToVector portal1,PickedNX(),PickedNY(),PickedNZ(),1
		AlignToVector portal1,PickedNX(),PickedNY(),PickedNZ(),2
		AlignToVector portal1,PickedNX(),PickedNY(),PickedNZ(),3


I wrote this. Somehow if I point at the same quad multimple times some planes are rotated in a way and other in the oposite way...