dvdvideo1234 / laserstool Goto Github PK
View Code? Open in Web Editor NEWOfficial repository of the Laser STool for Garry's mod
License: GNU General Public License v3.0
Official repository of the Laser STool for Garry's mod
License: GNU General Public License v3.0
Have to check on what conditions bent
is actually needed
--[[
* Checks for memory refraction start-refract
* from the last medium stored in memory and
* ignores the beam start entity. Checks when
* the given position is inside the beam source
]]
function mtBeam:IsMemory(index, pos)
local sent = self.BmSource
local vmin = sent:OBBMins()
local vmax = sent:OBBMaxs()
local vpos = sent:WorldToLocal(pos)
local bent = vpos:WithinAABox(vmax, vmin)
return ((index ~= self.TrMedium.M[1][1]) and not bent)
end
This issue is result of:
wiremod/advdupe2#438
Prop cannon works correctly, laser does not. Both addons use the same wrapper.
About your contribution guidelines
Use two spaces instead of one tab for indentation
All new files must be lower case for linux support
Line endings must always be unix complaint LF
Trim the tailing space before you save
Just use a .editorconfig
root = true
[*]
end_of_line = lf
insert_final_newline = true
[*.{lua,md}]
charset = utf-8
indent_style = space
[*lua]
indent_size = 2
[*.md]
indent_size = 4
And since when does Linux require lower case filenames??
Reporter: https://steamcommunity.com/id/havocking92
Gmod branch: x86-64
Advanced Dupicator 2
Henry's animation tool
gmod_laser
with AdvDupe2[AdvDupe2NotifyPaste] Player: [Sk$Bh]Trick or treat KID! Pasted, 1 Entities and 0 Constraints.
[AdvDupe2Notify] Pasting...
addons/laserstool/lua/entities/gmod_laser/shared.lua:305: attempt to perform arithmetic on local 'm' (a table value)[AdvDupe2Notify] Finished Pasting!
[laserstool] addons/laserstool/lua/entities/gmod_laser/shared.lua:244: bad argument #1 to 'EmitSound' (string expected, got nil)
1. EmitSound - [C]:-1
2. DoSound - addons/laserstool/lua/entities/gmod_laser/shared.lua:244
3. GetOn - addons/laserstool/lua/entities/gmod_laser/shared.lua:266
4. unknown - addons/laserstool/lua/entities/gmod_laser/init.lua:145
More details here : meetric1/GMod-Seamless-Portals#43
Currently seamless portal API is changed so this gonna be committed to main!
Seamless portals resolution by @Mee12345 is needed to actually fix this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.