Open main menu

Difference between revisions of "AGIWiki/right.posn"

m
Text replacement - "<source lang=" to "<syntaxhighlight lang="
(→‎Example: Fix syntax highlighting)
m (Text replacement - "<source lang=" to "<syntaxhighlight lang=")
Line 17: Line 17:


== Example ==
== Example ==
<source lang="cpp">
<syntaxhighlight lang="cpp">
  if (right.posn(o1, 0, 120, 60, 130)) {
  if (right.posn(o1, 0, 120, 60, 130)) {
   print("the object's lower right corner is in the box");
   print("the object's lower right corner is in the box");
TrustedUser
2,147

edits