gwnavruntime/math/integersegmentutils.h Source File

integersegmentutils.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 #pragma once
8 
10 
11 namespace Kaim
12 {
13 namespace Math
14 {
15 
16 // B
17 // ray towards /
18 // negative <------I--------P
19 // infinite /
20 // A
21 // A,B,P collinear: <----A-----B-----P no intersection !
22 // I is computed using DivFloor()
23 bool RayToNegInfVsSegment_Floor_15bits(const Vec2i& P, const Vec2i& A, const Vec2i& B, Vec2i& I);
24 
25 
26 }
27 } //namespace Kaim
28 
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17