Back to project page jmini3d.
The source code is released under:
Copyright 2012 Mobialia http://www.mobialia.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
If you think the Android project jmini3d listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package jmini3d.light; /*from w w w. j av a 2 s . co m*/ import jmini3d.Color4; import jmini3d.Vector3; public class PointLight extends Light { public Vector3 position; public PointLight(Vector3 position, Color4 color) { this.position = position; this.color = color; } public PointLight(Vector3 position, Color4 color, float intensity) { this.position = position; this.color = color; this.color.a = intensity; } public Vector3 getPosition() { return position; } public void setPosition(Vector3 position) { this.position = position; } }