-
Notifications
You must be signed in to change notification settings - Fork 0
/
camogen.vertex.php
36 lines (33 loc) · 1.21 KB
/
camogen.vertex.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/***************************************************************************************************
* CAMOuflage GENerator for PHP
* _________ _____ ___ ____ ____ ____ ____
* / ___/ __ `/ __ `__ \/ __ \/ __ `/ _ \/ __ \
* / /__/ /_/ / / / / / / /_/ / /_/ / __/ / / /
* \___/\__,_/_/ /_/ /_/\____/\__, /\___/_/ /_/
* /____/
*
* @author Neil Withnall with thanks to Gael Lederrey and Ulf Åström
* @version 0.1 ("Stealthy Salamander")
* @licence MIT
* @system-requirements PHP 5.4+ with Imagick or GD extensions
*
* camogen for PHP (c) 2024 Neil Withnall (gammalogic). This software contains code that has been
* directly derived from, or inspired by, the camogen Python application (c) 2017 Gael Lederrey.
*
* Please see LICENSE for full copyright notice and licensing terms.
***************************************************************************************************/
class Vertex
{
public $x;
public $y;
function __construct($x, $y)
{
// Constructor for the vertex
//
// @param float $x Horizontal coordinate, x
// @param float $y Vertical coordinate, y
$this->x = $x;
$this->y = $y;
}
}