Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

2DGeometry (Lib to perform geometrical actions)[v0.51@27.02.17]]


  • Please log in to reply
11 replies to this topic

#1
Maxxxel

Maxxxel

    The One

  • Scripts Developer
  • 1,196 posts
  • LocationGuess the right City to win 10$

I just tought i try to do a documentation for my/other Libs we currently got to help Devs create new Scripts more easier.
 
 
2DGeometry is a Lib that provides you with some cool geometrical functions.
There exist 5 different geometrical classes you can use:

 
POINT

Spoiler

LINE
Spoiler

 

LINESEGMENT

Spoiler

 

CIRCLE

Spoiler

 

POLYGON

Spoiler

 

 

(This lib is automatically downloaded but if you want to see the source)
Source (raw)
 
CREDITS: Husky, Yonderboi, Me, Myself & I


  • 6

#2
LeighaLish

LeighaLish

    Advanced Member

  • Ex-Staff
  • PipPipPip
  • 1,156 posts

I just tought i try to do a documentation for my/other Libs we currently got to help Devs create new Scripts more easier.
 
 
2DGeometry is a Lib that provides you with some cool geometrical functions.
There exist 5 different geometrical classes you can use:

 
POINT

Spoiler

LINE
Spoiler

 

LINESEGMENT

Spoiler

 

CIRCLE

Spoiler

 

POLYGON

Spoiler

 

 

(This lib is automatically downloaded but if you want to see the source)
Source (raw)
 
CREDITS: Husky, Yonderboi, Me, Myself & I

Always nice when devs post things for EXT. Ty ty ty


  • 0

#3
rivenmymain

rivenmymain

    Advanced Member

  • Members
  • 58 posts

Niceeee <3


  • 0

#4
Cloud

Cloud

    KAPPA

  • Ex-Staff
  • PipPipPip
  • 1,498 posts

--Checks if a LineSegment conrains an object
LineSegment:__contains(spatialObject)

conrains kek
 


  • 1

#5
kugicic

kugicic

    Member

  • Members
  • 20 posts

.lua missing?


  • 0

#6
kugicic

kugicic

    Member

  • Members
  • 20 posts

https://github.com/M.../4DGeometry.lua is this the same one?


  • 0

#7
Kiara789

Kiara789

    Advanced Member

  • Contributor
  • 193 posts
  • LocationChile

 

 

Tnx for lib, can you make support for Cone please?


  • 0

#8
RMAN

RMAN

    Advanced Member

  • Contributor
  • 523 posts

Tnx for lib, can you make support for Cone please?

Cone = Polygon
5 Points should be enough


  • 0

#9
plavingist

plavingist

    Newbie

  • Members
  • 1 posts

Link missing


  • 0

#10
Maxxxel

Maxxxel

    The One

  • Scripts Developer
  • 1,196 posts
  • LocationGuess the right City to win 10$

Link missing

 

Eyes missing?

 

https://gyazo.com/27...9572c28b6f3841e


  • 1

#11
RMAN

RMAN

    Advanced Member

  • Contributor
  • 523 posts

PJSalt missing

:godbless:


  • 1

#12
ssokol

ssokol

    Newbie

  • Members
  • 2 posts

.lua is missing in external


  • 0




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users