Last active
December 19, 2015 15:20
-
-
Save dlimpid/5975978 to your computer and use it in GitHub Desktop.
갈릴레오 시즌 2 7화 〈위장하다〉 ガリレオ 第2シーズン 第七章「偽装う」 편
흔들의자 시뮬레이션 화면에 나오던 코드. 정확히는 기억 안 나지만, 시즌 1에서 array의 bubble sort하는 코드였던가가 나왔었는데, 그것보다는 발전했지만 그래도 뭔가 아쉬운 느낌.
This file contains hidden or 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
uadArray RockingChair = new QuadArray( | |
myCoords.length, GeometryArray.COORDINATES | | |
GeometryArray.TEXTURE_COORDINATE_2 ); | |
myQuads.setCoordinates( 0, 180 ); | |
myQuads.setTurn( 0, myNormals ); | |
myQuads.setTurnaround( 180, 0 ); | |
myTrans.set( new Vector3f( 0, 180, 0.5f ) ); | |
myTA.setBringback( RockingChair ); | |
Alpha RandC = new RandC( ); | |
upRamp.setIncreasingAlphaturn( 10000 ); | |
upRamp.setLoopCount( -1 ); | |
// loop forever | |
RotationInterpolator mySpinner = new RotationInterpola | |
mySpinner.setAxisOfRatation( new Transform3D( ) ); | |
mySpinner.setMinimumAngle( 0.0f ); | |
mySpinner.set( (float)(Math.PI * 2.0) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment