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
#include <clutter/clutter.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
static gboolean | |
enter (ClutterRectangle *rect, ClutterEvent *event, gpointer data) | |
{ | |
g_object_set(G_OBJECT(rect), "scale-gravity", CLUTTER_GRAVITY_CENTER, NULL); | |
g_object_set(G_OBJECT(rect), "scale-x", 1.2, "scale-y", 1.2, NULL); | |
return TRUE; |
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
/* -*- indent-tabs-mode: nil; tab-width: 4 -*- */ | |
/* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */ | |
/* ***** BEGIN LICENSE BLOCK ***** | |
* Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
* | |
* The contents of this file are subject to the Mozilla Public License Version | |
* 1.1 (the "License"); you may not use this file except in compliance with | |
* the License. You may obtain a copy of the License at | |
* http://www.mozilla.org/MPL/ | |
* |
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
#include <clutter/clutter.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
static gboolean | |
enter (ClutterRectangle *rect, ClutterEvent *event, gpointer data) | |
{ | |
clutter_actor_move_anchor_point_from_gravity (CLUTTER_ACTOR (rect), CLUTTER_GRAVITY_CENTER); | |
g_object_set (G_OBJECT(rect), "scale-x", 1.2, "scale-y", 1.2, NULL); | |
return TRUE; |
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
# | |
# Exploration Concept Demo | |
# (c) magcius and mike 2009 | |
# | |
# Notes here. | |
# | |
import direct.directbase.DirectStart |
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
# | |
# Exploration Concept Demo | |
# (c) magcius and mike 2009 | |
# | |
# Notes here. | |
# | |
import direct.directbase.DirectStart |
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
from direct.directbase import DirectStart | |
from pandac.PandaModules import OdeWorld, OdeSimpleSpace, OdeJointGroup, OdePlaneGeom | |
from pandac.PandaModules import OdeBody, OdeMass, OdeBoxGeom, OdeTriMeshData, OdeTriMeshGeom | |
from pandac.PandaModules import BitMask32, CardMaker, Vec4, Quat | |
from random import randint, random | |
# Setup our physics world | |
world = OdeWorld() | |
world.setGravity(0, 0, -9.81) | |
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
# | |
# Exploration Concept Demo | |
# (c) magcius and mike 2009 | |
# | |
# Notes here. | |
# | |
import direct.directbase.DirectStart |
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
from pypy.translator.avm2.util import serialize_u32 as u32, Avm2Label | |
from pypy.translator.avm2.constants import METHODFLAG_Activation, METHODFLAG_SetsDxns | |
from decorator import decorator | |
INSTRUCTIONS = {} | |
@decorator | |
def needs_specialized(fn, self, *args, **kwargs): | |
if not self.specialized: |
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
from pypy.translator.avm2.util import serialize_u32 as u32, Avm2Label | |
from pypy.translator.avm2.constants import METHODFLAG_Activation, METHODFLAG_SetsDxns | |
from decorator import decorator | |
INSTRUCTIONS = {} | |
@decorator | |
def needs_specialized(fn, self, *args, **kwargs): | |
if not self.specialized: |
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
from pypy.translator.avm2.util import serialize_u32 as u32, Avm2Label | |
from pypy.translator.avm2.constants import METHODFLAG_Activation, METHODFLAG_SetsDxns | |
from decorator import decorator | |
INSTRUCTIONS = {} | |
@decorator | |
def needs_specialized(fn, self, *args, **kwargs): | |
if not self.specialized: |