FaceCCW

From GMLwiki

Jump to: navigation, search

e0:E → e1:E

[edit] Description

Iterates one edge further in the same face, ie. in CCW direction. Used to navigate on a face. Very cheap operation.

[edit] Example

deleteallmacros newmacro clear
(0,0,0) (0,-1,0) 1.0 8 circle
/brzskin setcurrentmaterial
1 poly2doubleface dup
faceCCW dup
faceCCW dup

The image shows the application of the faceCCW function.

  • Left: octagon after poly2doubleface
  • Middle: octagon after first faceCCW
  • Right: octagon after second faceCCW

Application of the faceCCW operator

[edit] See Also

Personal tools