Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UFrameIT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FrameIT
UFrameIT
Commits
d3e7c61b
Commit
d3e7c61b
authored
8 months ago
by
mariuskern
Browse files
Options
Downloads
Patches
Plain Diff
Prism
parent
e106663e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Assets/Scripts/MMTServer/CommunicationProtocoll/MMTConstants.cs
+2
-2
2 additions, 2 deletions
.../Scripts/MMTServer/CommunicationProtocoll/MMTConstants.cs
Assets/Scripts/MeshGenerator/TriangluarPrismGenerator.cs
+2
-2
2 additions, 2 deletions
Assets/Scripts/MeshGenerator/TriangluarPrismGenerator.cs
with
4 additions
and
4 deletions
Assets/Scripts/MMTServer/CommunicationProtocoll/MMTConstants.cs
+
2
−
2
View file @
d3e7c61b
...
...
@@ -48,8 +48,8 @@ public static class MMTConstants
public
static
readonly
string
TriangleType
=
"http://mathhub.info/MitM/core/geometry?Geometry/Triangles?triangle"
;
public
static
readonly
string
TriangleScroll
=
"http://mathhub.info/FrameIT/frameworld?TriangleScroll"
;
public
static
readonly
string
PrismCons
=
"http://mathhub.info/FrameIT/frameworld?
p
rismType?prismCons"
;
public
static
readonly
string
PrismType
=
"http://mathhub.info/FrameIT/frameworld?
Rectangle
Type?prismType"
;
public
static
readonly
string
PrismCons
=
"http://mathhub.info/FrameIT/frameworld?
P
rismType?prismCons"
;
public
static
readonly
string
PrismType
=
"http://mathhub.info/FrameIT/frameworld?
Prism
Type?prismType"
;
public
static
readonly
string
PrismScroll
=
"http://mathhub.info/FrameIT/frameworld?PrismScroll"
;
public
static
readonly
string
CuboidCons
=
"http://mathhub.info/FrameIT/frameworld?CuboidType?cuboidCons"
;
...
...
This diff is collapsed.
Click to expand it.
Assets/Scripts/MeshGenerator/TriangluarPrismGenerator.cs
+
2
−
2
View file @
d3e7c61b
...
...
@@ -62,7 +62,7 @@ public static (Vector3[], int[]) CreateTriangluarPrism(float triangle_ab, float
{
Vector3
[]
bottom_edge
=
GetTrianglePoints
(
triangle_ab
,
triangle_height
,
triangle_c
);
Vector3
[]
bottom_vertices
=
new
Vector3
[]
{
offset
}
new
Vector3
[]
{
}
.
AppendRange
(
bottom_edge
)
.
Append
(
bottom_edge
[
0
])
.
ToArray
();
...
...
@@ -70,7 +70,7 @@ public static (Vector3[], int[]) CreateTriangluarPrism(float triangle_ab, float
Vector3
[]
top_edge
=
GetTrianglePoints
(
triangle_ab
,
triangle_height
,
triangle_c
,
new
Vector3
(
0
,
0
,
-
prism_height
));
Vector3
[]
top_vertices
=
new
Vector3
[]
{
offset
}
new
Vector3
[]
{
}
.
AppendRange
(
top_edge
)
.
Append
(
top_edge
[
0
])
.
ToArray
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment