Skip to content

Commit 3f404cb

Browse files
committed
v1.0.1
1 parent a55189b commit 3f404cb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

3DTryg.inc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Platforms:
1414
- SA:MP 0.3 DL
1515
1616
File Version:
17-
- Gen. 2 v1.0.0
17+
- Gen. 2 v1.0.1
1818
1919
Plugin Versions:
2020
- ColAndreas Version: 1.5.0
@@ -241,7 +241,7 @@ Tryg3D::GetPointInCircularSector(const Float:x, const Float:y, const Float:rz, c
241241
Tryg3D::GetPointInSphericalSector(const Float:x, const Float:y, const Float:z, const Float:rx, const Float:rz, const Float:radius, Float:vrx, Float:vrz, &Float:tx, &Float:ty, &Float:tz);
242242
Tryg3D::GetPointInEllipse(const Float:cx, const Float:cy, const Float:size_x, const Float:size_y, &Float:tx, &Float:ty);
243243
Tryg3D::GetPointInEllipticalCylinder(const Float:cx, const Float:cy, const Float:minz, const Float:maxz, const Float:size_x, Float:size_y, &Float:tx, &Float:ty, &Float:tz);
244-
Tryg3D::GetPointInPolygon(const Float:points[], &Float:tx, &Float:ty, const max_points = sizeof(points), max_iterations = 10000);
244+
Tryg3D::GetPointInPolygon(const Float:points[], &Float:tx, &Float:ty, const max_points = sizeof(points), max_iterations = 10000);
245245
Float: Tryg3D::GetPointOnClock(const Float:x, const Float:y, const Float:radius, &Float:tx, &Float:ty, &Float:trz, Float:rz = TRYG3D_INVALID_ROTATION);
246246
Tryg3D::GetPointOnCircle(const Float:x, const Float:y, const Float:radius, &Float:tx, &Float:ty);
247247
Tryg3D::GetPointOnCylinder2D(const Float:x, const Float:y, const Float:minz, const Float:maxz, const Float:radius, &Float:tx, &Float:ty, &Float:tz);
@@ -646,11 +646,11 @@ enum 'StreamType'
646646
/*
647647
//Check Version 3DTryg.inc
648648
#if !defined TRYG3D_REMASTERED_INCLUDE
649-
#error [ADM] This include required 3DTryg.inc Gen. 2 v1.0.0
649+
#error [ADM] This include required 3DTryg.inc Gen. 2 v1.0.1
650650
#elseif !defined TRYG3D_VERSION
651-
#error [ADM] Update your 3DTryg.inc to Gen. 2 v1.0.0
652-
#elseif (TRYG3D_VERSION < 10000)
653-
#error [ADM] Update your 3DTryg.inc to Gen. 2 v1.0.0
651+
#error [ADM] Update your 3DTryg.inc to Gen. 2 v1.0.1
652+
#elseif (TRYG3D_VERSION < 10001)
653+
#error [ADM] Update your 3DTryg.inc to Gen. 2 v1.0.1
654654
#endif
655655
*/
656656

@@ -667,7 +667,7 @@ enum 'StreamType'
667667
#endif
668668
#define TRYG3D_REMASTERED_INCLUDE
669669

670-
#define TRYG3D_VERSION (10000) //a.b.c g+10000*a+100*b+c
670+
#define TRYG3D_VERSION (10001) //a.b.c g+10000*a+100*b+c
671671
#define TRYG3D_LIBRARY_NAME "3DTryg"
672672
#define TRYG3D_AUTHOR_NAME "Abyss Morgan"
673673

@@ -937,7 +937,7 @@ enum 'StreamType'
937937
********************************/
938938

939939
#if !defined TRYG3D_ELEMENT_TAG
940-
#define TRYG3D_ELEMENT_TAG {Text3D,DynamicObject,DynamicPickup,DynamicCP,DynamicRaceCP,DynamicMapIcon,DynamicText3D,DynamicArea,DynamicActor,DynamicVehicle,_}
940+
#define TRYG3D_ELEMENT_TAG {Text3D,DynamicObject,DynamicPickup,DynamicCP,DynamicRaceCP,DynamicMapIcon,DynamicText3D,DynamicArea,DynamicActor,_}
941941
#endif
942942

943943
#if !defined FLOAT_PI
@@ -2512,7 +2512,7 @@ stock Tryg3D::GetPointInEllipticalCylinder(const Float:cx, const Float:cy, const
25122512
tz = Tryg3D::RandomFloat(0.0,floatsqroot(floatpower(minz-maxz,2)),6)+minz;
25132513
}
25142514

2515-
stock Tryg3D::GetPointInPolygon(const Float:points[], &Float:tx, &Float:ty, const max_points = sizeof(points), max_iterations = 10000){
2515+
stock Tryg3D::GetPointInPolygon(const Float:points[], &Float:tx, &Float:ty, const max_points = sizeof(points), max_iterations = 10000){
25162516
if(!Tryg3D::IsValidPolygon(points,max_points)) return -1;
25172517
new Float:minx, Float:miny, Float:maxx, Float:maxy, recheck = 1;
25182518
minx = maxx = points[0];

0 commit comments

Comments
 (0)