-
Notifications
You must be signed in to change notification settings - Fork 1
/
gen_geometry_cone.go
116 lines (87 loc) · 2.52 KB
/
gen_geometry_cone.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
package three
// Code generated by go generate; DO NOT EDIT.
//
// using the following cmd:
// geometry_method_generator -typeName ConeGeometry -typeSlug cone
import "syscall/js"
// Compile-time check that this type implements Geometry interface.
var _ Geometry = ConeGeometry{}
func (g ConeGeometry) ApplyMatrix4(matrix Matrix4) {
g.Value.Call("applyMatrix4", matrix)
}
func (g ConeGeometry) RotateX() {
g.Value.Call("rotateX")
}
func (g ConeGeometry) RotateY() {
g.Value.Call("rotateY")
}
func (g ConeGeometry) RotateZ() {
g.Value.Call("rotateZ")
}
func (g ConeGeometry) Translate() {
g.Value.Call("translate")
}
func (g ConeGeometry) Scale() {
g.Value.Call("scale")
}
func (g ConeGeometry) LookAt() {
g.Value.Call("lookAt")
}
func (g ConeGeometry) FromBufferGeometry(geometry Geometry) {
g.Value.Call("fromBufferGeometry")
}
func (g ConeGeometry) Center() {
g.Value.Call("center")
}
func (g ConeGeometry) Normalize() ConeGeometry {
g.Value.Call("normalize")
return g
}
func (g ConeGeometry) ComputeFaceNormals() {
g.Value.Call("computeFaceNormals")
}
func (g ConeGeometry) ComputeVertexNormals(areaWeighted bool) {
g.Value.Call("computeVertexNormals", areaWeighted)
}
func (g ConeGeometry) ComputeFlatVertexNormals() {
g.Value.Call("computeFlatVertexNormals")
}
func (g ConeGeometry) ComputeMorphNormals() {
g.Value.Call("computeMorphNormals")
}
func (g ConeGeometry) ComputeLineDistances() {
g.Value.Call("computeLineDistances")
}
func (g ConeGeometry) ComputeBoundingBox() {
g.Value.Call("computeBoundingBox")
}
func (g ConeGeometry) ComputeBoundingSphere() {
g.Value.Call("computeBoundingSphere")
}
func (g ConeGeometry) Merge(geometry Geometry, matrix Matrix4, materialIndexOffset float64) {
g.Value.Call("merge", geometry.getInternalObject(), matrix.Value, materialIndexOffset)
}
func (g ConeGeometry) MergeMesh(mesh Mesh) {
g.Value.Call("mergeMesh", mesh.getInternalObject())
}
func (g ConeGeometry) MergeVertices() {
g.Value.Call("mergeVertices")
}
func (g ConeGeometry) SortFacesByMaterialIndex() {
g.Value.Call("sortFacesByMaterialIndex")
}
func (g ConeGeometry) ToJSON() js.Value {
return g.Value.Call("toJSON")
}
// func (g ConeGeometry) Clone() ConeGeometry {
// return g.Value.Call("clone")
// }
func (g ConeGeometry) Copy(source Object3D, recursive bool) ConeGeometry {
return ConeGeometry{Value: g.getInternalObject().Call("copy", source.getInternalObject(), recursive)}
}
func (g ConeGeometry) Dispose() {
g.Value.Call("dispose")
}
func (g ConeGeometry) getInternalObject() js.Value {
return g.Value
}