packages feed

lambdacube-examples 0.2.1 → 0.2.2

raw patch · 4 files changed

+4/−3 lines, 4 filesbinary-added

Files

lambdacube-examples.cabal view
@@ -1,5 +1,5 @@ Name:          lambdacube-examples-Version:       0.2.1+Version:       0.2.2 Cabal-Version: >= 1.2 Synopsis:      Examples for LambdaCube Category:      Graphics@@ -38,6 +38,7 @@   media/Ground.mesh.xml   media/knot.mesh.xml   media/ogrehead.mesh.xml+  media/ogrehead.vmesh   media/Ogre.material   media/r2skin.jpg   media/Robot.material
+ media/ogrehead.vmesh view

binary file changed (absent → 285493 bytes)

src/lambdacube-basic.hs view
@@ -37,7 +37,7 @@             mat i =  materials !! (i `mod` materialLen)         addScene $             [ node "Root" "Robot" idmtx [m "robot.mesh.xml"]-            , node "Root" "OgreHead" (scalingUniformProj4 0.05) [m "ogrehead.mesh.xml",m "Quad.mesh.xml"]+            , node "Root" "OgreHead" (scalingUniformProj4 0.05) [m "ogrehead.vmesh",m "Quad.mesh.xml"]             , node "Root" "Light1" (translation (Vec3 5 5 10)) [defaultLight,m "ogrehead.mesh.xml"]             , node "Root" "CameraNode1" (translation (Vec3 0 0 10)) [simpleCamera "Camera1"]             , node "Root" "CameraEye" idmtx [mesh (Just RQP_EarlySky) Nothing "Box.mesh.xml" ]
src/lambdacube-cameratrack.hs view
@@ -38,7 +38,7 @@         let mrq = mesh defaultRQP             m = mrq Nothing         addScene $-            [ node "Root" "OgreHead" idmtx [m "ogrehead.mesh.xml"]+            [ node "Root" "OgreHead" idmtx [m "ogrehead.vmesh"]             , node "Root" "Light1" idmtx [light simpleLight { lgDiffuse = (1,0,0,1) }]             , node "Root" "Light2" idmtx [defaultLight]             , node "Root" "Light3" idmtx [light simpleLight { lgDiffuse = (0,0,1,1) }]