Changeset 92 for trunk/Point.php


Ignore:
Timestamp:
Apr 7, 2020, 11:53:58 AM (5 years ago)
Author:
chronos
Message:
  • Modified: Improved code formatting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Point.php

    r63 r92  
    1616{
    1717  $Point = new Point($X, $Y);
    18   return($Point);
     18  return $Point;
    1919}
    2020
     
    2323{
    2424  $Y = ($P2->Y - $P1->Y) / ($P2->X - $P1->X) * ($X - $P1->X) + $P1->Y;
    25   return($Y);
     25  return $Y;
    2626}
Note: See TracChangeset for help on using the changeset viewer.