summaryrefslogtreecommitdiffstats
path: root/source/Tracer.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-12 05:46:01 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-12 05:46:01 +0100
commit43e684071933adef93040e8d4b830d5c6b71cf9a (patch)
tree014e5300feb1cdbbb8f24e4e42594eeb841f0be2 /source/Tracer.h
parentFixed rclk in doublechests (diff)
downloadcuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.tar
cuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.tar.gz
cuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.tar.bz2
cuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.tar.lz
cuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.tar.xz
cuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.tar.zst
cuberite-43e684071933adef93040e8d4b830d5c6b71cf9a.zip
Diffstat (limited to '')
-rw-r--r--source/Tracer.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/source/Tracer.h b/source/Tracer.h
index fa9d3c673..2f627366f 100644
--- a/source/Tracer.h
+++ b/source/Tracer.h
@@ -5,18 +5,18 @@
class cWorld;
-class cTracer //tolua_export
-{ //tolua_export
-public: //tolua_export
+class cTracer // tolua_export
+{ // tolua_export
+public: // tolua_export
Vector3f DotPos;
Vector3f BoxOffset;
- cTracer( cWorld* a_World); //tolua_export
- ~cTracer(); //tolua_export
- int Trace( const Vector3f & a_Start, const Vector3f & a_Direction, int a_Distance ); //tolua_export
- void SetValues( const Vector3f & a_Start, const Vector3f & a_Direction ); //tolua_export
- Vector3f BlockHitPosition; //tolua_export
- Vector3f HitNormal; //tolua_export
- Vector3f RealHit; //tolua_export
+ cTracer( cWorld* a_World); // tolua_export
+ ~cTracer(); // tolua_export
+ int Trace( const Vector3f & a_Start, const Vector3f & a_Direction, int a_Distance ); // tolua_export
+ void SetValues( const Vector3f & a_Start, const Vector3f & a_Direction ); // tolua_export
+ Vector3f BlockHitPosition; // tolua_export
+ Vector3f HitNormal; // tolua_export
+ Vector3f RealHit; // tolua_export
private:
int intersect3D_SegmentPlane( const Vector3f & a_Origin, const Vector3f & a_End, const Vector3f & a_PlanePos, const Vector3f & a_PlaneNormal );
int GetHitNormal( const Vector3f & start, const Vector3f & end, const Vector3i & a_BlockPos);
@@ -31,4 +31,4 @@ private:
Vector3i end1;
Vector3i step;
Vector3f tMax;
-}; //tolua_export \ No newline at end of file
+}; // tolua_export