Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
No EOL
487 B
Text
24 lines
No EOL
487 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
|
|
var _math = require("../math.js");
|
|
|
|
const tan30 = (0, _math.sqrt)(1 / 3);
|
|
const tan30_2 = tan30 * 2;
|
|
var _default = {
|
|
draw(context, size) {
|
|
const y = (0, _math.sqrt)(size / tan30_2);
|
|
const x = y * tan30;
|
|
context.moveTo(0, -y);
|
|
context.lineTo(x, 0);
|
|
context.lineTo(0, y);
|
|
context.lineTo(-x, 0);
|
|
context.closePath();
|
|
}
|
|
|
|
};
|
|
exports.default = _default; |