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
475 B
Text
24 lines
No EOL
475 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
|
|
var _math = require("../math.js");
|
|
|
|
const sqrt3 = (0, _math.sqrt)(3);
|
|
var _default = {
|
|
draw(context, size) {
|
|
const s = (0, _math.sqrt)(size) * 0.6824;
|
|
const t = s / 2;
|
|
const u = s * sqrt3 / 2; // cos(Math.PI / 6)
|
|
|
|
context.moveTo(0, -s);
|
|
context.lineTo(u, t);
|
|
context.lineTo(-u, t);
|
|
context.closePath();
|
|
}
|
|
|
|
};
|
|
exports.default = _default; |