forked from Gaia3D/mago3djs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Gaia3D#583 from Gaia3D/feature/nativeProjects_16
nativeProjects
- Loading branch information
Showing
14 changed files
with
446 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
'use strict'; | ||
|
||
/** | ||
* 어떤 일을 하고 있습니까? | ||
* @class HalfEdgesList | ||
*/ | ||
var HalfEdgesList = function() | ||
{ | ||
if (!(this instanceof HalfEdgesList)) | ||
{ | ||
throw new Error(Messages.CONSTRUCT_ERROR); | ||
} | ||
|
||
this.hEdgesArray; | ||
}; | ||
|
||
HalfEdgesList.prototype.newHalfEdge = function() | ||
{ | ||
if(this.hEdgesArray === undefined) | ||
this.hEdgesArray = []; | ||
|
||
var hedge = new HalfEdge(); | ||
this.hEdgesArray.push(hedge); | ||
return hedge; | ||
}; | ||
|
||
HalfEdgesList.prototype.addHalfEdgesArray = function(hEdgesArray) | ||
{ | ||
if(hEdgesArray === undefined) | ||
return; | ||
|
||
if(this.hEdgesArray === undefined) | ||
this.hEdgesArray = []; | ||
|
||
Array.prototype.push.apply(this.hEdgesArray, hEdgesArray); | ||
}; |
Oops, something went wrong.