Search:
Login
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
Browse Source
View Tickets
New Ticket
Search
Context Navigation
←
Previous Change
Next Change
→
Changeset
92
for
trunk/Point.php
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
Apr 7, 2020, 11:53:58 AM (
5 years
ago)
Author:
chronos
Message:
Modified: Improved code formatting.
File:
1 edited
trunk/Point.php
(modified)
(
2 diffs
)
Legend:
Unmodified
Added
Removed
Tabular
Unified
trunk/Point.php
¶
r63
r92
16
16
{
17
17
$Point = new Point($X, $Y);
18
return
($Point)
;
18
return
$Point
;
19
19
}
20
20
…
…
23
23
{
24
24
$Y = ($P2->Y - $P1->Y) / ($P2->X - $P1->X) * ($X - $P1->X) + $P1->Y;
25
return
($Y)
;
25
return
$Y
;
26
26
}
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive