Skip to content

Commit

Permalink
func: إجبار إصدار نسخة جديدة
Browse files Browse the repository at this point in the history
  • Loading branch information
Assayyaad committed Aug 12, 2024
1 parent 81886a5 commit b0ae3e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand All @@ -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] }
Expand All @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"useGitignore": true,
"language": "ar,en",
"files": ["./{src,test,tests}/**/*", "**/*.md"],
"words": []
"words": ["anthima", "إتجاه"]
}

0 comments on commit b0ae3e8

Please sign in to comment.