mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Updated the new module changes to use more compile/link-time checking rather than runtime checking.
This commit is contained in:
@@ -115,6 +115,12 @@ public:
|
||||
**/
|
||||
BezierCurve *newBezierCurve(const std::vector<Vector> &points);
|
||||
|
||||
// Implements Module.
|
||||
virtual ModuleType getModuleType() const
|
||||
{
|
||||
return M_MATH;
|
||||
}
|
||||
|
||||
virtual const char *getName() const
|
||||
{
|
||||
return "love.math";
|
||||
|
||||
Reference in New Issue
Block a user