Package org.pollux3d.shared

Examples of org.pollux3d.shared.Sun


  ObjectMapper mapper = new ObjectMapper();
 
 
  public void loadSystem() throws JsonGenerationException, JsonMappingException, IOException
  {
    Sun sun = new Sun();
    sun.setId(1);
    sun.setName("Sun");
    sun.setSize(50);
    sun.setStartColor(new Vector4f(100,100,100,100));
    sun.setEndColor(new Vector4f(200,200,200,200));
   
    Planet merkury = new Planet();
    merkury.setId(1);
    merkury.setName("Merkury");
   
View Full Code Here

TOP

Related Classes of org.pollux3d.shared.Sun

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.