All Content
Blogs
Forums
News
Tutorials
Log In
Sign Up
Login
Username / Email
Password
Remember me
Forgot password?
Login
or
Don't have a GameDev.net account?
Sign up
Forgot your password?
Email Address
Reset Password
Please contact us if you have any trouble resetting your password.
Home
Blogs
Forums
News
Portfolios
Projects
Tutorials
18
users logged in
Proud partner of GDC 2025
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Support GameDev.net with a monthly
GDNet+ subscription
!
Follow Us
Chat in the
GameDev.net Discord!
Back to General and Gameplay Programming
Advertisement
Many tiles and one line
General and Gameplay Programming
Programming
Started by
Diakon_Tristan
May 02, 2001 11:59 AM
-1
comments, last by
Diakon_Tristan
23 years, 9 months ago
Diakon_Tristan
Author
122
May 02, 2001 11:59 AM
Good evening! Following situation: I have got an 2d array of quadratic tiles (tile_array[x][y] with tile_width for each) and a 2d-line (Vectors : x=a*direction + point). Question: How can I find those tiles lying under the line? Thanks
Cancel
Save
This topic is closed to new replies.
Advertisement
Popular Topics
C++ pointers that are released upon going out of scope
General and Gameplay Programming
Adding Support for Custom Literal Constants
AngelCode
How to use unordered_map in C++
General and Gameplay Programming
How to Handle Complex Side Effects and Event Sequencing in a Turn-Based Game Like XCOM?
General and Gameplay Programming
Encouraging Players to write things down.
Game Design and Theory
click and drag sprite
For Beginners
Advertisement
Recommended Tutorials
Direct3D 7 IM Framework Programming 1: The Basics
Graphics and GPU Programming
Using a CallHandler and Caller Object to Simplify Function Calling Between Anonymous Objects
General and Gameplay Programming
Deferred Rendering Demystified
Graphics and GPU Programming
My Year as a Mobile Gamedev
General and Gameplay Programming
Standard Gameplay and IAP Metrics for Mobile Games (Part 2)
General and Gameplay Programming
Advertisement
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2025 GameDev.net, LLC
Back to Top