Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
Math /
[ HOME SHELL ]
Name
Size
Permission
Action
examples
[ DIR ]
drwxr-xr-x
Fibonacci
[ DIR ]
drwxr-xr-x
Integer
[ DIR ]
drwxr-xr-x
test
[ DIR ]
drwxr-xr-x
Basex.php
11.66
KB
-rw-r--r--
CompactedTuple.php
2.87
KB
-rw-r--r--
Fibonacci.php
16.55
KB
-rw-r--r--
IntegerOp.php
12.25
KB
-rw-r--r--
Integer.php
6.23
KB
-rw-r--r--
Matrix.php
45.93
KB
-rw-r--r--
RPN.php
28.01
KB
-rw-r--r--
Stats.php
28.31
KB
-rw-r--r--
TrigOp.php
5.44
KB
-rw-r--r--
Tuple.php
7.02
KB
-rw-r--r--
Vector2.php
2.97
KB
-rw-r--r--
Vector3.php
3.38
KB
-rw-r--r--
VectorOp.php
12
KB
-rw-r--r--
Vector.php
9.53
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Vector3.php
<?php // // +----------------------------------------------------------------------+ // | PHP Version 4 | // +----------------------------------------------------------------------+ // | Copyright (c) 1997-2003 The PHP Group | // +----------------------------------------------------------------------+ // | This source file is subject to version 2.0 of the PHP license, | // | that is bundled with this package in the file LICENSE, and is | // | available at through the world-wide-web at | // | http://www.php.net/license/2_02.txt. | // | If you did not receive a copy of the PHP license and are unable to | // | obtain it through the world-wide-web, please send a note to | // | license@php.net so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // | Authors: Jesus M. Castagnetto <jmcastagnetto@php.net> | // +----------------------------------------------------------------------+ // // $Id: Vector3.php 304047 2010-10-05 00:25:33Z clockwerx $ // require_once "Math/Vector.php"; /** * 3D vector class * Originally this class was part of NumPHP (Numeric PHP package) * * @author Jesus M. Castagnetto <jmcastagnetto@php.net> * @version 1.0 * @access public * @package Math_Vector */ class Math_Vector3 extends Math_Vector { /** * Constructor for Math_Vector3 * * @access public * @param mixed $arg an array of values, a Math_Tuple object or a Math_Vector3 object */ function Math_Vector3($arg) { if ( is_array($arg) && count($arg) != 3 ) $this->tuple = null; elseif ( is_object($arg) && (strtolower(get_class($arg)) != "math_vector3" && strtolower(get_class($arg)) != "math_tuple") ) $this->tuple = null; elseif ( is_object($arg) && strtolower(get_class($arg)) == "math_tuple" && $arg->getSize() != 3 ) $this->tuple = null; else $this->Math_Vector($arg); } /** * Returns the X component of the vector * * @access public * @return numeric */ function getX()/*{{{*/ { return $this->get(0); }/*}}}*/ /** * Sets the X component of the vector * * @access public * @param numeric $val the value for the Y component * @return mixed true on success, PEAR_Error object otherwise */ function setX($val)/*{{{*/ { return $this->set(0, $val); }/*}}}*/ /** * Returns the Y component of the vector * * @access public * @return numeric */ function getY()/*{{{*/ { return $this->get(1); }/*}}}*/ /** * Sets the Y component of the vector * * @access public * @param numeric $val the value for the Y component * @return mixed true on success, PEAR_Error object otherwise */ function setY($val)/*{{{*/ { return $this->set(1, $val); }/*}}}*/ /** * Returns the Z component of the vector * * @access public * @return numeric */ function getZ()/*{{{*/ { return $this->get(2); }/*}}}*/ /** * Sets the Z component of the vector * * @access public * @param numeric $val the value for the Y component * @return mixed true on success, PEAR_Error object otherwise */ function setZ($val)/*{{{*/ { return $this->set(2, $val); }/*}}}*/ } ?>
Close