Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Converting an int value into a float in a matrix  (Read 643 times)
0 Members and 1 Guest are viewing this topic.
Offline K.I.L.E.R

JGO Strike Force
***

Posts: 764
Medals: 1


Java games rock!


« on: 2004-06-14 00:50:25 »

So my mouse says I've clicked on 64, 64. However, the vlaue on the matrix is for example 1.0f, 1.0f.

How do I convert from an int to a float within a matrix?

I'm using LWJGL for my mouse clicks for my level editor to place textures on the matrix where I click.
Thanks.

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.083 seconds with 20 queries.