Skip to content

Commit f2bbdcb

Browse files
author
fabianmoronzirfas
committed
fix(members): Members where not parsed yet
Added recursive function to json-transfrom to get also members of classes
1 parent f97eb36 commit f2bbdcb

17 files changed

+270
-0
lines changed

global/Random.nextGaussian.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: entry
3+
title: Random.nextGaussian
4+
codetitle: b.Random.nextGaussian()
5+
description: null
6+
category: global
7+
subcategory: null
8+
returns:
9+
name: null
10+
description: 'The next Gaussian random value.'
11+
type: [Number]
12+
parameters: []
13+
kind: function
14+
15+
---

math/Vector.add.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: entry
3+
title: Vector.add
4+
codetitle: 'b.Vector.add(v, [y], [z])'
5+
description: 'Adds x, y, and z components to a vector, adds one vector to another.'
6+
category: Math
7+
subcategory: Vector
8+
returns: null
9+
parameters:
10+
- {name: v, description: 'Either a full vector or an x component.', optional: false, type: [Vector, Number]}
11+
- {name: y, description: 'Optional, the y component.', optional: true, type: [Number]}
12+
- {name: z, description: 'Optional, the z component.', optional: true, type: [Number]}
13+
kind: function
14+
15+
---

math/Vector.angleBetween.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
layout: entry
3+
title: Vector.angleBetween
4+
codetitle: 'b.Vector.angleBetween(v1, v2)'
5+
description: "Static function. Calculates the angle between two vectors.\nIs meant to be called \"static\" i.e. Vector.angleBetween(v1, v2);"
6+
category: Math
7+
subcategory: Vector
8+
returns:
9+
name: null
10+
description: 'The angle.'
11+
type: [Number]
12+
parameters:
13+
- {name: v1, description: 'The first vector.', optional: false, type: [Vector]}
14+
- {name: v2, description: 'The second vector.', optional: false, type: [Vector]}
15+
kind: function
16+
17+
---

math/Vector.array.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: entry
3+
title: Vector.array
4+
codetitle: b.Vector.array()
5+
description: 'Returns this vector as an array '
6+
category: Math
7+
subcategory: Vector
8+
returns:
9+
name: null
10+
description: 'The x, y and z components as an Array of [x,y,z].'
11+
type: [Array]
12+
parameters: []
13+
kind: function
14+
15+
---

math/Vector.cross.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: entry
3+
title: Vector.cross
4+
codetitle: 'b.Vector.cross(v1, v2)'
5+
description: "Static function. Calculates the cross product of two vectors.\nIs meant to be called \"static\" i.e. Vector.cross(v1, v2);"
6+
category: Math
7+
subcategory: Vector
8+
returns:
9+
name: null
10+
description: 'The cross product.'
11+
type: [Number]
12+
parameters:
13+
- {name: v1, description: 'The first vector.', optional: false, type: [Vector]}
14+
- {name: v2, description: 'The second vector.', optional: false, type: [Vector]}
15+
kind: function
16+
17+
---
18+
- {name: z, description: 'Optional, the z component.', optional: true, type: [Number]}
19+
kind: function
20+
21+
---

math/Vector.dist.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: entry
3+
title: Vector.dist
4+
codetitle: 'b.Vector.dist(v1, v2)'
5+
description: "Static function. Calculates the Euclidean distance between two points (considering a point as a vector object).\nIs meant to be called \"static\" i.e. Vector.dist(v1, v2);"
6+
category: Math
7+
subcategory: Vector
8+
returns:
9+
name: null
10+
description: 'The distance.'
11+
type: [Number]
12+
parameters:
13+
- {name: v1, description: 'The first vector.', optional: false, type: [Vector]}
14+
- {name: v2, description: 'The second vector.', optional: false, type: [Vector]}
15+
kind: function
16+
17+
---
18+
optional: true, type: [Number]}
19+
kind: function
20+
21+
---

math/Vector.div.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: entry
3+
title: Vector.div
4+
codetitle: 'b.Vector.div(v, [y], [z])'
5+
description: 'Divides this vector through x, y, and z components or another vector.'
6+
category: Math
7+
subcategory: Vector
8+
returns: null
9+
parameters:
10+
- {name: v, description: 'Either a full vector or an x component.', optional: false, type: [Vector, Number]}
11+
- {name: y, description: 'Optional, the y component.', optional: true, type: [Number]}
12+
- {name: z, description: 'Optional, the z component.', optional: true, type: [Number]}
13+
kind: function
14+
15+
---

math/Vector.dot.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: entry
3+
title: Vector.dot
4+
codetitle: 'b.Vector.dot(v1, v2)'
5+
description: "Static function. Calculates the dot product of two vectors.\nIs meant to be called \"static\" i.e. Vector.dot(v1, v2);"
6+
category: Math
7+
subcategory: Vector
8+
returns:
9+
name: null
10+
description: 'The dot product.'
11+
type: [Number]
12+
parameters:
13+
- {name: v1, description: 'The first vector.', optional: false, type: [Vector]}
14+
- {name: v2, description: 'The second vector.', optional: false, type: [Vector]}
15+
kind: function
16+
17+
---
18+
- {name: z, description: 'Optional, the z component.', optional: true, type: [Number]}
19+
kind: function
20+
21+
---

math/Vector.get.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: entry
3+
title: Vector.get
4+
codetitle: b.Vector.get()
5+
description: 'Gets a copy of the vector, returns a Vector object.'
6+
category: Math
7+
subcategory: Vector
8+
returns:
9+
name: null
10+
description: 'A copy of the vector.'
11+
type: [Vector]
12+
parameters: []
13+
kind: function
14+
15+
---

math/Vector.heading.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: entry
3+
title: Vector.heading
4+
codetitle: b.Vector.heading()
5+
description: 'The 2D orientation (heading) of this vector in radian.'
6+
category: Math
7+
subcategory: Vector
8+
returns:
9+
name: null
10+
description: 'A radian angle value.'
11+
type: [Number]
12+
parameters: []
13+
kind: function
14+
15+
---

0 commit comments

Comments
 (0)