Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
d0p3t committed Feb 1, 2021
2 parents 12a1684 + 89dea85 commit a9e160e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 17 deletions.
8 changes: 0 additions & 8 deletions examples/javascript/__resource.lua

This file was deleted.

10 changes: 10 additions & 0 deletions examples/javascript/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
fx_version 'cerulean'

games { 'gta5' }

dependency 'webpack'
dependency 'yarn'

webpack_config 'client.config.js'

client_script 'dist/index.js'
8 changes: 0 additions & 8 deletions examples/typescript/__resource.lua

This file was deleted.

10 changes: 10 additions & 0 deletions examples/typescript/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
fx_version 'cerulean'

games { 'gta5' }

dependency 'webpack'
dependency 'yarn'

webpack_config 'client.config.js'

client_script 'dist/index.js'
2 changes: 1 addition & 1 deletion src/utils/Vector3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ export class Vector3 implements Vec3 {
}

public get Length(): number {
return this.distanceSquared(this);
return Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z);
}
}

0 comments on commit a9e160e

Please sign in to comment.