This commit is contained in:
watrabi
2025-10-28 14:05:46 -04:00
parent 977f1ff4b8
commit c93494f795
452 changed files with 47860 additions and 152 deletions
+32
View File
@@ -0,0 +1,32 @@
/* Copyright 2003-2005 ROBLOX Corporation, All Rights Reserved */
#include "V8World/Controller.h"
#pragma once
namespace RBX {
class SurfaceData {
public:
LegacyController::InputType inputType;
float paramA;
float paramB;
SurfaceData()
: inputType(LegacyController::NO_INPUT)
, paramA(-0.5)
, paramB(0.5)
{}
bool operator== (const SurfaceData& other) const {
return ( inputType == other.inputType
&& paramA == other.paramA
&& paramB == other.paramB );
}
static const SurfaceData& empty() {static SurfaceData s; return s;}
bool isEmpty() const {return *this == empty();}
};
} // namespace