From b0ae3e85de6a8d4147d36a3bbf4ecea30e371057 Mon Sep 17 00:00:00 2001 From: Assayyaad Date: Mon, 12 Aug 2024 18:30:26 +0800 Subject: [PATCH] =?UTF-8?q?func:=20=D8=A5=D8=AC=D8=A8=D8=A7=D8=B1=20=D8=A5?= =?UTF-8?q?=D8=B5=D8=AF=D8=A7=D8=B1=20=D9=86=D8=B3=D8=AE=D8=A9=20=D8=AC?= =?UTF-8?q?=D8=AF=D9=8A=D8=AF=D8=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 ++++++++-------- cSpell.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c08c603..3e47e43 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ ## أمثلة الاستخدام ### التحقق من وجود نقطة داخل المستقيم -```javascript -import { Line } from './JavaScript-main/src/exports.js' +```js +import { Line } from 'anthima' const line = Line.create.one({ end: 10 }); const pointInLine = inside(line, 5); @@ -31,8 +31,8 @@ const pointInLine = inside(line, 15); ``` ### تحريك النقطة على طول المستقيم -```javascript -import { Line } from './JavaScript-main/src/exports.js' +```js +import { Line } from 'anthima' const line = Line.create.one({ end: 10 }); const newCurrent = ride(line, 3, 2); @@ -43,8 +43,8 @@ const newCurrent = ride(line, 3, 2, true); ``` ### إنشاء مستقيم مع نقاط محددة -```javascript -import { Line } from './JavaScript-main/src/exports.js' +```js +import { Line } from 'anthima' const line = Line.create.one({ end: -10 }); // line = { neg: true, count: 2, dis: 10, spacing: 10, end: -10, points: [0, -10] } @@ -54,8 +54,8 @@ const line = Line.create.one({ end: -10, count: 3 }); ``` ### حساب نسبة النقطة على المستقيم -```javascript -import { Line } from './JavaScript-main/src/exports.js' +```js +import { Line } from 'anthima' const line = Line.create.one({ end: 10 }); const t = Line.time.to(line, 5); diff --git a/cSpell.json b/cSpell.json index a9a9202..206476f 100644 --- a/cSpell.json +++ b/cSpell.json @@ -3,5 +3,5 @@ "useGitignore": true, "language": "ar,en", "files": ["./{src,test,tests}/**/*", "**/*.md"], - "words": [] + "words": ["anthima", "إتجاه"] }