This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
/* Copyright 2003-2005 ROBLOX Corporation, All Rights Reserved */
#pragma once
#include "Util/G3DCore.h"
#include "Util/NormalId.h"
#include "appdraw/HandleType.h"
namespace RBX {
class Extents;
class HandleHitTest
{
public:
static bool hitTestHandleLocal( const Extents& localExtents,
const CoordinateFrame& location,
HandleType handleType,
const Ray& gridRay,
Vector3& hitPointWorld,
NormalId& localNormalId,
const int normalIdMask = NORM_ALL_MASK);
static bool hitTestHandleWorld( const Extents& worldExtents,
HandleType handleType,
const Ray& gridRay,
Vector3& hitPointWorld,
NormalId& worldNormalId,
const int normalIdMask = NORM_ALL_MASK);
static bool hitTestMoveHandleWorld(const Extents& worldExtents,
const RbxRay& gridRay,
Vector3& hitPointWorld,
NormalId& worldNormalId,
const int normalIdMask = NORM_ALL_MASK);
};
} // namespace RBX