GtePickRecord.cpp
Go to the documentation of this file.
1 // David Eberly, Geometric Tools, Redmond WA 98052
2 // Copyright (c) 1998-2017
3 // Distributed under the Boost Software License, Version 1.0.
4 // http://www.boost.org/LICENSE_1_0.txt
5 // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
6 // File Version: 3.0.1 (2016/06/26)
7 
8 #include <GTEnginePCH.h>
10 using namespace gte;
11 
13 {
14 }
15 
17  :
19  primitiveIndex(0),
20  t(0.0f),
21  linePoint({ 0.0f, 0.0f, 0.0f, 1.0f }),
22  primitivePoint({ 0.0f, 0.0f, 0.0f, 1.0f }),
26 {
27  for (int i = 0; i < 3; ++i)
28  {
29  vertexIndex[i] = 0;
30  bary[i] = 0.0f;
31  }
32 }
IPType primitiveType
Definition: GtePickRecord.h:35
float distanceToPrimitivePoint
Definition: GtePickRecord.h:71
IP_NONE
Vector4< float > primitivePoint
Definition: GtePickRecord.h:63
GLdouble GLdouble t
Definition: glext.h:239
GLfloat f
Definition: glcorearb.h:1921
float distanceBetweenLinePrimitive
Definition: GtePickRecord.h:72
Vector4< float > linePoint
Definition: GtePickRecord.h:49
float distanceToLinePoint
Definition: GtePickRecord.h:70


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:01